Better HN
topnewbestaskshowjobs
Log inSign up

gibberishhh

1 karma · joined Sep 6, 2017 (9y ago) · 1 submissions

Submissions

comment 9y ago · link · parent

The problem I see with that approach is that it doesn't leave a lot of room for reusability in different types of design components.

Many times in larger web applications, designers will have similar design themes that span multiple pages (more than just simple things like forms). So there may be a callout with a border and all text inside is blue across 5 separate pages.

You may approach this as #homepage .callout at first but it begins to become hard to manage when you realize you need to refactor it into a side wide style.

Generally I approach everything in attempts to make it re-usable. And organize what I can into components. I'd rather write more css classes in the markup than have to specify names for certain cases where 'this heading is bold here but underlined in this case' yada yada, when I can just write .bold .underline .h5.