美文网首页
思客笔记第三天

思客笔记第三天

作者: that_day | 来源:发表于2016-05-01 15:47 被阅读0次
    • 使用absolute布局时,记得将父元素设置为relative
    • 使用browsersync可以方便实现响应式开发:
      相关步骤可参照 官网.或以下简易步骤
      step1. download Node.js
      step2. 安装 BrowserSync
      在npm目录下打开一个终端窗口,运行以下命令
      : npm install -g browser-sync
      step.3 在要运行的文件目录下打开终端窗口,在命令行中运行命令:
      browser-sync start --server --port 4000 --files index.html --files css/main.css

    相关文章

      网友评论

          本文标题:思客笔记第三天

          本文链接:https://www.haomeiwen.com/subject/jpucrttx.html