treehouse : what would you like to learn today?
Web Design Web Development iOS Development

skweeze

  • Fading CSS sprites using Compass/SCSS

    Pretty much yeah. Fade in on hover, fade out on roll out. I was trying to use this tutorial to get to what i wanted. http://css-tricks.com/fade-image-within-sprite/. Removing the hover class from the span will do nothing as it will mean the span has…
    Comment by skweeze November 2012 permalink
  • Fading CSS sprites using Compass/SCSS

    Here is the link from the Compass website explaining about magic selectors: http://compass-style.org/help/tutorials/spriting/magic-selectors/ I am using the latest version of Compass (v 0.12.2) The code I am using is: $icons-spacing:20px; @import &…
    Comment by skweeze November 2012 permalink
  • Fading CSS sprites using Compass/SCSS

    This doesn't work. I'm not sure it is possible with the way Compass generates the CSS. This is what it compiles: .icons-social-sketch-twitter { background-position: 0 -925px; } .icons-social-sketch-twitter:hover, .icons-social-sketc…
    Comment by skweeze November 2012 permalink