W3C home > Mailing lists > Public > www-style@w3.org > June 2014

Re: [css-variables] a more "Classical" approach

From: Rafał Pietrak <rafal@ztk-rp.eu>
Date: Thu, 05 Jun 2014 07:22:31 +0200
Message-ID: <538FFE97.8080200@ztk-rp.eu>
To: www-style@w3.org
W dniu 04.06.2014 22:14, Brian Kardell pisze:
[----------------]
>
>
>
> Improved by what measure? seems an important distinction.
>

Along the lines of html/css separation of course - layering, 
readibility, maintenance and last but not least compactness of the "code".

example:
<style> h1, h2 {color:red}</style>

is better then:
<h1 style="color:red"> ASDASD </h1><p>asjdklad</p><h2 
style="color:red">sdfhjksdf</h2>

here character count doesn't change much (compactness gain is 
insignificant), but layering & readibility improves immenensly.

-R
Received on Thursday, 5 June 2014 05:23:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:22 UTC