News for hackers. Stuff that matters.
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.
Re:Reimagine Atomic CSS by city41 on Wednesday November 17, 2021 @01:31PM (#29256934)
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.