Re:Reimagine Atomic CSS
by cjpearson on Wednesday November 17, 2021 @01:20PM
(#29256749)
The main differences are that inline styles don't give you the ability to set responsive or pseudo-class variants and that using classes limits you to values defined in your design system.
[ Parent
| on HN ]
Added bonus, the classes autocomplete in most editors, allowing you to style a component extremely quickly. "Tailwind" is a very apt name.
Re:Reimagine Atomic CSS
by yakshaving_jgt on Wednesday November 17, 2021 @01:40PM
(#29257055)
1. Text editors can autocomplete just about anything, including CSS styles.
2. The code you write shouldn't be compromised by the tool you use to write it.