[CSS] Prefix Hell šŸ˜¢šŸ˜¢ | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 9

[CSS] Prefix Hell šŸ˜¢šŸ˜¢

When I use animation or transitions, I attach prefix with auto prefix site.(because computer is better than me and I'm lazy) But, I dont know why should I write prefix?(JQuery animate method doesnt need prefix) Is it for browser compatibility or kind of test for next css version? It consumes so many lines... If I have 8lines of mini anim, It becomes 16~48lines after prefix. How can I use 50lines for 1anim I can't bare it! Is there a shorthand for prefix? https://code.sololearn.com/WjWKBbJ74OxK/?ref=app

26th May 2017, 12:51 AM
ź¹€ģ •ģ œ(Legacy)
ź¹€ģ •ģ œ(Legacy) - avatar
4 Respostas
+ 9
@ Calvin Thx!! But unfortunately I code in only mobile. I cant use npm. T^T
26th May 2017, 1:10 AM
ź¹€ģ •ģ œ(Legacy)
ź¹€ģ •ģ œ(Legacy) - avatar
+ 9
@Calvin Thank you for helping me
26th May 2017, 7:20 AM
ź¹€ģ •ģ œ(Legacy)
ź¹€ģ •ģ œ(Legacy) - avatar
+ 3
Other option is online autoprefixer http://pleeease.io/play/
26th May 2017, 3:24 AM
CalviÕ²
CalviÕ² - avatar
+ 2
You could use automation tool like gulp to autoprefix it eg. https://www.npmjs.com/package/gulp-autoprefixer
26th May 2017, 1:04 AM
CalviÕ²
CalviÕ² - avatar