Christian Heilmann: Fixing a webkit-only effect using Sublime Text |
Afra Noubarzadeh just blew me away with his painting using Style Sheets, completely created in Chrome Devtools. It looks like this (scaled to size):
Afra also recorded a video of him creating it:
Then, of course, he also made me a sad, as the painting uses –webkit– only CSS prefixes.
So I decided to wield my own, if less impressive, magic and fix it for all modern and future browsers by not relying on –webkit– prefixes.
You can see the fixing process here
As Sublime Text is full of awesome, all I had to do was:
Voil`a, it works for Chrome, Safari and Firefox. Of course, I was lucky. As Afra’s original code was amazingly clean, I could write very simple RegEx :)
Remember: do not rely on –webkit– – it will hurt you very, very soon!
http://christianheilmann.com/2014/01/22/fixing-a-webkit-only-effect-using-sublime-text/
Комментировать | « Пред. запись — К дневнику — След. запись » | Страницы: [1] [Новые] |