r/csshelp • u/NvaderGir • Mar 10 '12
Need help with adding multiple flairs
So at /r/CatsWithHats I've been tinkering with CSS and I can't seem to be able to add multiple flairs. Can someone help me?
.arrow.down {
visibility: hidden;
display: none
}
.comment .arrow.down {
visibility: visible;
display: block
}
div.titlebox span.word {
display: none
}
div.titlebox span.number:after {
content: " cat addicts"
}
.flair:before{
display:inline-block;
width:28px;
height:25px;
}
.flair-kitty1:before{
content:'';
background:url(%%kitty1%%) 0 0 no-repeat;
}and I'm trying to add this image labeled nyan http://i.imgur.com/UsHHP.png
Anyone care to help? It would be much appreciated.
6
Upvotes
2
u/TheNinja2203 Mar 10 '12 edited Mar 10 '12
try using this code instead of yours
This replaces both .flair:before and .flair-kitty1:before. Looks like this
Flair Templates page looks like this