代码拉取完成,页面将自动刷新
To do the exercises, just edit the files with your favourite editor.
If you want a live-edit experience, install BrowserSync.
To install BrowserSync:
npm install browser-sync@2.7.1
To run the live-edit web server:
browser-sync start --server --port 4000 --files index.html --files css/main.css
It should open the url http://localhost:4000
immediately. Editing index.html or css/main.css would cause the browser to automatically refresh.
You can publish your work on Github so the world can see it. Run this command:
git push origin master:gh-pages
For example, our repository is https://github.com/sikeio/css0to1-startkit, the page would be accessible at http://sikeio.github.io/css0to1-startkit/.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。