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

      0  

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

    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 - Services Team arthurakay's Avatar
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,347
    Answers
    60
    Vote Rating
    32
    arthurakay is a jewel in the rough arthurakay is a jewel in the rough arthurakay is a jewel in the rough

      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.
    Arthur Kay
    Developer Relations Manager, Sencha Inc.

    Twitter | Sencha Chicago User Group

Thread Participants: 1

Tags for this Thread