Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Selectors Selectors - Beyond the Basics DRY CSS

Ashley Ferenchak
Ashley Ferenchak
8,066 Points

This looks familiar

The idea of reusable classes that apply specific stylings to whatever they're applied to - isn't that basically what frameworks like Bootstrap and TailwindCSS were made for?

Though I suppose in this case, you have the freedom to define your own styling classes, which is nice.

1 Answer

Travis Alstrand
Travis Alstrand
Treehouse Teacher

You're correct, that's basically what those frameworks were created for, and correct again! It's nice to know how to do these things ourselves and specify exactly what we want if we're using a framework like that and can't find what we need in a certain situation.

I personally prefer to create my own CSS styles so I know exactly what I'm getting and exactly what it's named but a lot of people do prefer those frameworks :smiley: