Hacker News new | ask | show | jobs
by jampekka 33 days ago
> Sure it’s not as dry, but I’ve been bitten in this regard because css framework and templates are so intransparent, preventing me from simply changing padding or margin.

How does this happen? You can always override css values. Either by ordering, !important, inline or, to make very sure, with inline !important.

2 comments

When you inherit a front-end project for the Nth time, those `!important` become a nightmare.
I found that once I started needing to use inline styles or !important or in-line important, I was in for a world of hurt and felt sorry for whoever maintained the project after me.