Simon Willison’s Weblog


1 item tagged “cssconstants”


Why “variables” in CSS are harmful. Bert Bos thinks constants or macros in CSS will make it harder to learn. I personally think that the problem with CSS isn’t the learning curve, it’s how difficult it is to maintain later—and I see macros as a great way of reducing that maintainability burden. # 6th August 2008, 12:13 am