While there are many popular CSS libraries like Bootstrap and Foundation, they all require adding specific classes to HTML tags for styling.
However, I find it tedious to add individual classes like .form-control
from Bootstrap to every input element on my website. I prefer the concept of CoC (Convention over Configuration), where a CSS library automatically styles elements without any changes to the HTML by default.
I have searched online but couldn't find such a library that meets my requirements. Therefore, I am posing the question to see if anyone has come across something similar.
So, my questions are:
- Are there any existing libraries that align with my idea?
- If not, what are potential drawbacks or reasons why this approach may not be popular?