Home › Forums › CSS › Crazy class selectors and css › Re: Crazy class selectors and css
October 18, 2012 at 4:14 am #112236
Note that this “background-image: url(“../images/facebook.png”); ” won’t work on jsfiddle. You need to reference an image on your server (http://www.myserver.com/imagefile.png)
anyway, you had “img .twitter-icon” but the class twitter-icon is the class for that image, it’s not its child, so you should use img.twitter-icon (no space before the dot).
There were some typos in your code (pintrest, twitter-ico -> pinterest, twitter-icon).
You can’t use @include on jsfiddle (I think it doesn’t allow preprocessors like codepen does [I’m not sure]).
I changed img in span because we don’t have the icons, but it should work just the same way.