4 ms·
Is it possible to use semantic class names then use a CSS processor to map those into tachyon classes?
by smadge 10y ago
Is it possible to use semantic class names then use a CSS processor to map those into tachyon classes?
- cel1ne 10y agoWhy would you do that?
- smadge 10y agoIt would decouple your structure(html) from your display(css). The semantic class applied to your html could remain unchanged while you are changing the style. For example, you could switch from using a css library like tachyon, to swapping it out with a custom css without touching your html/templates. You're right though, it is an extra layer of abstraction that might not be needed.