Time for uniform CSS3

When you are using CSS 3 you already know that most of the time you need to use settings in triplo (three times) or sometimes even four times!!!
With this I mean special codes for Firefox, Opera, Chrome and Safari/IE9.

I have included a little piece of code to illutrate;

-webkit-border-radius: 1px;
-moz-border-radius: 1px;
border-radius: 1px;

This bit is compatible with all 5 browsers and needs 3 lines of the same thing!
There are tags around which you have to specify four times.

I think its time to stick to the standards.
Then my example above will look a bit shorter;

border-radius: 1px;

Why would you program everything multiple times? We all have better stuff to do. Like introducing more coffee breaks a day to celebrate that your working efficiencient. Why bother with things like CDN and minification if you still have to write good code multiple times.

 

Leave a Reply

Your email address will not be published. Required fields are marked *