Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

样式管理方案 #17

Open
GavinBirkhoff opened this issue Feb 18, 2024 · 0 comments
Open

样式管理方案 #17

GavinBirkhoff opened this issue Feb 18, 2024 · 0 comments

Comments

@GavinBirkhoff
Copy link
Owner

GavinBirkhoff commented Feb 18, 2024

CSS Modules

原汁原味的css可能是最好的

CSS 预处理

less
sass
写到最后很少有人去耗费精力去维护轻量代码,走过的人都留下一堆无用代码。考虑以后的项目要不要使用,还是全面拥抱css-in-js和tailwind之类的?

CSS-in-JS

  1. styled-jsx
  2. emotion
  3. styled-components

等等,顺序只代表我的倾向

Tailwind CSS

样式框架也很不错

GavinBirkhoff added a commit that referenced this issue Mar 24, 2024
@GavinBirkhoff GavinBirkhoff changed the title 样式 样式管理方案 Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant