Extract styles Intro 7 / 17
You might have noticed we completely got rid of all those custom hard-to-name classes like header-logo--text
.
So together with pixels, rgb values, etc., we also no longer have to waste energy inventing class names or follow methodoligies like BEM.
But does it mean we have to repeat 20 classes whenever we need a button? How do we know what those classes represent? Let's check it out in the next slides.