CSS 预编译stylus

stylus是css的预编译语言,用于去掉css中的冒号和分好,例如

.style{
  position fixed
  width 100%
  z-index 10
}

  vue的使用方式是需要安装

npm install stylus stylus-loader --save-dev

  

上一篇:初学stylus的坑(1)


下一篇:使用stylus实现移动端1像素线