3 ms·
But you really don't have to do that. Naming components only (as you already are) really is sufficient. And yes, specificity and flexibility can easily be manag
by emmacharp 3y ago
But you really don't have to do that. Naming components only (as you already are) really is sufficient. And yes, specificity and flexibility can easily be managed/included with CSS, particularly now, with all the new widely supported features/selectors.
These solutions to an old "problem" are lighter, simpler and easier to maintain in the long run.
If you're curious, I'll be pleased to give you more concrete examples!
- haswell 3y agoMost of my HTML/CSS skills were formed when these things did not have good built-in solutions. As someone who just wants to hack together a responsive blog that looks nice, the things that are now “simpler and easier in the long run” have not been easy or obvious to come by when looking for resources, and while I’d love a deep knowledge of CSS, the investment in time doesn’t make sense given my use case. This is why I gravitated to Tailwind - learn the conventions of the utility classes (only took a few minutes) and the rest mostly just works. I’d love something like http://vanilla-js.com/ http://vanilla-js.com/ but for modern CSS. Something that paints a crystal clear picture about what can be done, and how to do it without bringing in $framework.
- emmacharp 3y agoI understand this perfectly and is maybe the argument I have the most sympathy for. And, because you are absolutely right, I'm working right now on something like what you propose. The only way to convince people that CSS is a better (as in lighter, simpler, more efficient, etc.) solution than a framework like this, is to show and prove that it is. Arguments can only go so far... So, as the saying goes, I'll be putting my money where my mouth is. Hehe.
- haswell 3y agoIf you need someone to test your content, I'll very happily raise my hand and provide feedback if desired. Awesome of you to start a project like this.
- emmacharp 3y agoYeeah! That is really great to read! If you are ok with sharing an email address or a website, I'll be sure to give you a heads up when the site is up and running. Thank you for the kind and useful offer!