2019. CSS. Is it simple? Is it hard? To BEM or not to BEM? CSS-in-JS? Sass or LESS? Bootstrap or Foundation? CSS Modules or styled-components? How should we write CSS today? Which is the quickest way? And the more confortable? CSS is often considered as a non-problem until the moment it brings out its best and it messes up our last friday before the holidays. Let's try to clarify about different ways to write our lovely stylesheets and figure out which is the best one that fits our needs.
13. RecapRecap
Team expertise
Project type and life span
Design
Browser compatibility
Build process
JS framework or Micro frontends
1. Evaluate environment conditions
57. Use a framework to go fasterUse a framework to go faster
in building admin sites orin building admin sites or
short termshort term projects with lowprojects with low
customizationcustomization
Recap
60. Standard CSS with semanticStandard CSS with semantic
classnames is the bestclassnames is the best
strategy for longstrategy for long lastinglasting
project and white labelproject and white label
productsproducts
Recap
61. Enforce the style with aEnforce the style with a
styleguidestyleguide
Recap
62. CSS is global because the UICSS is global because the UI
needs coherence, but it isneeds coherence, but it is
really hardreally hard to handle wellto handle well
Recap