大厂web开发规范

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

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

HTML&CSS https://google.github.io/styleguide/htmlcssguide.html
JS https://google.github.io/styleguide/jsguide.html
TS http://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/

JS https://github.com/airbnb/javascript
CSS & Sass https://github.com/airbnb/css

Sass
百度

https://github.com/ecomfe/spec

HTML https://github.com/ecomfe/spec/blob/master/html-style-guide.md
CSS https://github.com/ecomfe/spec/blob/master/css-style-guide.md
JS https://github.com/ecomfe/spec/blob/master/javascript-style-guide.md
Less https://github.com/ecomfe/spec/blob/master/less-code-style.md

Less
阿里 https://download.csdn.net/download/qq_44647809/20159865 Sass
Vue https://cn.vuejs.org/v2/style-guide/index.html
JavaScript Standard Style https://github.com/standard/standard
ES6 http://es6.ruanyifeng.com/#docs/style
Bootstrap https://codeguide.bootcss.com/
ESLint https://eslint.org/
Prettier https://prettier.io/

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

结论:

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

引用上文的一张图:

大厂web开发规范_第1张图片

你可能感兴趣的:(项目总结,前端)