•  

CSS preprocessors for the best of both worlds

A session at From The Front and the Temple of DOM

Thursday 18th September, 2014

2:30pm to 2:30pm (CET)

While purists propagate to not mix content structure (HTML), presentation (CSS) and behavior (JavaScript) layers for the reason of maintainability, concepts like OOCSS aim at the same goal, but from a different angle: reusable CSS code, at the expense of bloated, presentational mark-up, violating the separation of concerns. Can’t we have both, clean mark-up and reusable CSS? The benefits of both approaches without the drawbacks? Yes, we can. This talk shows how to take the OO concept out of the HTML and put it where it belongs to: into the style sheet. Not directly into the CSS though, but into an intermediate layer provided by a CSS preprocessor like Sass. Like Ogers and onions, concepts have layers. Unlike Ogers and onions, they don’t always stink, but eventually lead to the best of both worlds.

About the speaker

This person is speaking at this event.
Gunnar Bittersmann

Web developer, user advocate, guitar player

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 2:30pm2:30pm CET

Date Thu 18th September 2014

Where

Teatro Duse

Short URL

lanyrd.com/sddgcb

Official event site

2014.fromthefront.it

View the schedule

Share

See something wrong?

Report an issue with this session