Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Image with :after issue Re: Image with :after issue

#84336
jamygolden
Member

Do this:

#nav li:after{
content : url(../images/bon-end.png);
}

If you want to specifically use the background property, you will have to set a width and height to the pseudo element the same way you’d have to set it on a normal element.