<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: cssconstants</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/cssconstants.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2008-08-06T00:13:55+00:00</updated><author><name>Simon Willison</name></author><entry><title>Why "variables" in CSS are harmful</title><link href="https://simonwillison.net/2008/Aug/6/cssvariables/#atom-tag" rel="alternate"/><published>2008-08-06T00:13:55+00:00</published><updated>2008-08-06T00:13:55+00:00</updated><id>https://simonwillison.net/2008/Aug/6/cssvariables/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.w3.org/People/Bos/CSS-variables"&gt;Why &amp;quot;variables&amp;quot; in CSS are harmful&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
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.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/bert-bos"&gt;bert-bos&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/css"&gt;css&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/cssconstants"&gt;cssconstants&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/maintainability"&gt;maintainability&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/css-custom-properties"&gt;css-custom-properties&lt;/a&gt;&lt;/p&gt;



</summary><category term="bert-bos"/><category term="css"/><category term="cssconstants"/><category term="maintainability"/><category term="css-custom-properties"/></entry></feed>