4 ms·
You don't often change the values of variables and you're better at regex than most front end engineers?
by nailer 11y ago
You don't often change the values of variables and you're better at regex than most front end engineers?
- oneeyedpigeon 11y agoNo, the colours of the sites I look after don't tend to change on a regular basis. And, if they did, a regex wouldn't be required for the search and replace.
- tacos 11y agoI'm a designer. There is no "blue". There's the blue in the logo. And then there's the blue saturated a bit more when it's on a gray border. And there's the blue brightened a bit when it's on white. If repeating yourself over and over in CSS makes sense by all means stick to your guns. This practice is verboten in all other aspects of tech engineering and it's only the truly idiotic nature of CSS that has people thinking like this to begin with.