我对此行"请勿在CSS中使用ID选择器"感到震惊.这是真的吗?我发现很多帖子都写过这个.
我想我们可以使用ID作为选择器.
我还是想清楚这一点.
我试图在OS X上全局安装gulp,但我注意到一件我想要了解的奇怪事情.首先,我尝试了以下命令:
npm install -g glup
这导致以下错误:
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "glup"
npm ERR! node v0.12.4
npm ERR! npm v2.10.1
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/glup
npm ERR! 404
npm ERR! 404 'glup' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can …Run Code Online (Sandbox Code Playgroud)