The full list of transformations:<p><pre><code> 'colour' => 'color',
'grey' => 'gray',
'!please' => '!important',
'transparency' => 'opacity',
'centre' => 'center',
'plump' => 'bold',
'photograph' => 'image',
'capitalise' => 'capitalize'
</code></pre>
In case someone actually tries to use this in production (lol), I'm wouldn't
trust the transformation to this search/replace regex:<p><pre><code> '/(?:(?:\s|\t)*|\;)([\w-]*):/i'
</code></pre>
You know, considering CSS is context-free 'n all.
Splendid. Makes one feel right at home.<p>However, transparency: 0.5 -> opacity: 0.5 is a very poor example. One would assume that transparency: 1 = opacity: 0.<p>It's like putting an example date of 01-01-2014.
Don't forget to pair it with British PHP: <a href="http://www.addedbytes.com/blog/if-php-were-british/" rel="nofollow">http://www.addedbytes.com/blog/if-php-were-british/</a><p>Now you have a royal web development stack.
As a Canadian even, I can't count the number of times I wrote "colour" with a 'u' in my CSS and was surprised when it didn't work.
Something I find inconsistent is the "color", shouldn't it be "font-color"? (I definitely could be wrong, I'm terrible in css)
I went ahead and drew up a petition to include these changes in CSS4. Please add your sig!!! <a href="http://bit.ly/1kzxheU" rel="nofollow">http://bit.ly/1kzxheU</a>
As someone who learned british english all the way until high school, I appreciate this. It would've been nice if there was an audio off button though.
there are tools that let you create your own preprocessor that are far better than regexp in php.<p><a href="http://createyourproglang.com/" rel="nofollow">http://createyourproglang.com/</a><p>Or you can go through sass or less source code and change things :P<p>cool joke tho
5/8 people in my office audibly laughed at this.<p>Give me a sec I'll fire up the 'ol D3 and give you a statistical analysis of age, gender, race, hair-colour, (noticed I used colour, not color), etc..