DEV Community

Discussion on: Classless CSS Isn't Trashy

Collapse
 
jakobbouchard profile image
Jakob Bouchard

Classless CSS sounds pretty fun to do yeah! I feel like bigger websites might not be able to use it though. I might try building a complete-ish website using it 🤔
By the way, I also thought Tailwind was similar to Bootstrap, but it’s really not. Especially if you use its PostCSS features, as you can @apply their classes to elements or other classes:

h1 {
  @apply text-white mb-4;
}
Enter fullscreen mode Exit fullscreen mode

I had a much better time with Tailwind than Bootstrap personally. I will try out classless for sure though!

Thread Thread
 
nbhankes profile image
Nathan B Hankes

That @apply functionality is pretty slick! Thanks for letting me know about that.

And have fun with classless CSS!