Home › Forums › CSS › ‘DRY’ HTML vs OOCSS Approach? Better to have less HTML or CSS code? › Re: ‘DRY’ HTML vs OOCSS Approach? Better to have less HTML or CSS code?
March 17, 2013 at 9:41 pm
#128577
CrocoDillon
Participant
I like to keep markup and style as separate as possible, so semantic html elements and classes as style hooks, option 2. What’s the point keeping markup and style separate if you end up with classes like `.float-left` or `.bottom-border-10px`, might as well use inline styles.