1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    105
    Vote Rating
    2
    Answers
    3
    darkhorni is on a distinguished road

      0  

    Default Answered: Loading icons for web application dynamically (4.1)

    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. 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 )
    - http://www.akawebdesign.com/2011/01/...h-compasssass/

    Just search Google and you'll find a bunch of other (more elegant) posts on the subject.

  3. #2
    Sencha - Tools Team arthurakay's Avatar
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,425
    Vote Rating
    64
    Answers
    65
    arthurakay is just really nice arthurakay is just really nice arthurakay is just really nice arthurakay is just really nice arthurakay is just really nice

      0  

    Default

    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 )
    - http://www.akawebdesign.com/2011/01/...h-compasssass/

    Just search Google and you'll find a bunch of other (more elegant) posts on the subject.

Thread Participants: 1

Tags for this Thread