View Full Version : Loading icons for web application dynamically (4.1)
2 Jul 2012, 6:50 AM
I have ExtJS application and and I develop it sometimes. I don't want to specify each icon explicitly with CSS because there are too much icons ( http://p.yusukekamiyamane.com/ ), I just want to write the icon's name and go with it. What kind of solution can help me?
2 Jul 2012, 7:12 AM
If you're using SASS/Compass, there are a number of blog posts I've seen about how to automate this process. You can even go a step further and bundle all of your icons into a CSS sprite - which would help with performance.
One example (shameless self promotion :D )
Just search Google and you'll find a bunch of other (more elegant) posts on the subject.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.