Skip to Content
Hands-On UX Design for Developers
book

Hands-On UX Design for Developers

by Elvis Canziba
July 2018
Beginner
350 pages
8h 34m
English
Packt Publishing
Content preview from Hands-On UX Design for Developers

Object-Oriented CSS (OOCSS)

This CSS methodology was first introduced in early 2009, and it has two main principles when it comes to organizing CSS.

The first one is to properly separate the entire structure of our CSS code from themes styles or, sometimes known on CSS as, the skins.

Using this approach, we divide CSS that has anything to do with the layout of the pages, such as floats, flexbox, or grids, from styling skin components such as colors, fonts, shapes, and animations.

So, using OOCSS, we have the following two groups where we write the CSS:

  • Structure (CSS Layouts, grids, alignments, and hierarchy)
  • Skin (colors, backgrounds, fonts, and shapes)

This CSS methodology is a great approach, and it provides a log of guidelines on how ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Joy of UX: User Experience and Interactive Design for Developers

The Joy of UX: User Experience and Interactive Design for Developers

David Platt
User Experience Design

User Experience Design

Satyam Kantamneni
UX Design for Mobile

UX Design for Mobile

Pau Giner, Pablo Perea

Publisher Resources

ISBN: 9781788626699Other