|
|
|
|
|
by kowdermeister
3681 days ago
|
|
I'm with you. I'm not sure why semantic purists need to spread the idea that utility classes are bad. 1 class name for every property is stupid of course, but layout classes (yes, used with semantic HTML elements) are a great help if used with discipline. After all, who are we writing code for?
- The end user? He can't care less about the class names.
- Search engines? They can surely identify relevant content. Semantic classes help, but they don't rule out utilities.
- Ourselves? I can read utility/semantic classes well especially that I've written. Also not a case against utilities. |
|