Outbound Link Summary:
1 year ago
TAC: A CSS methodology for the Web Components era.
All our favorite CSS methodologies were created more than 10 years ago in the pre-Web Components era. (…) I've found all that in a new methodology I've been following for the past 5 years. I call it Tag, Attributes, then Classes or TAC (…):
- Style a custom HTML tag
x-badge { ... }
- Define and style custom attributes
x-badge[count] { ... }
- Customize with utility classes, like
.mar-r-sm