大厂web开发规范

公司对应链接CSS预处理器
谷歌

https://google.github.io/styleguide/

HTML&CSShttps://google.github.io/styleguide/htmlcssguide.html
JShttps://google.github.io/styleguide/jsguide.html
TShttp://google.github.io/styleguide/tsguide.html

Sass
腾讯

http://tgideas.qq.com/doc/frontend/spec/common/

Sass
京东https://guide.aotu.io/docs/Sass
Airbnb

https://github.com/airbnb/

JShttps://github.com/airbnb/javascript
CSS & Sasshttps://github.com/airbnb/css

Sass
百度

https://github.com/ecomfe/spec

HTMLhttps://github.com/ecomfe/spec/blob/master/html-style-guide.md
CSShttps://github.com/ecomfe/spec/blob/master/css-style-guide.md
JShttps://github.com/ecomfe/spec/blob/master/javascript-style-guide.md
Lesshttps://github.com/ecomfe/spec/blob/master/less-code-style.md

Less
阿里https://download.csdn.net/download/qq_44647809/20159865Sass
Vuehttps://cn.vuejs.org/v2/style-guide/index.html
JavaScript Standard Stylehttps://github.com/standard/standard
ES6http://es6.ruanyifeng.com/#docs/style
Bootstraphttps://codeguide.bootcss.com/
ESLinthttps://eslint.org/
Prettierhttps://prettier.io/

浅谈预处理器:浅谈 CSS 预处理器(二):如何快速上手?——CSS魔法

结论:

  • Sass相对Less 和 Stylus 更成熟,更受欢迎。
  • Sass(或它的变种 SCSS)。因为它相当成熟,用它的人也最多。
  • Stylus 与 Sass 和 Less 相比,Stylus 更像是一门编程语言,功能强大,语法灵活。Stylus 完全由 JavaScript 实现,对 Node.js 工具链极为友好。

引用上文的一张图:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

麦田里的POLO桔

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值