Home › Forums › CSS › Add text and image through :after › Reply To: Add text and image through :after
October 10, 2018 at 4:15 am
#277447
Mave
Participant
Unfortunately changing the display value to something besides inline is not an option..
Is there something I can use to make the ::after content have empty space at the end by using an invisible symbol or something?
Right now using:
content: “## Admin ∙ ∙ ∙”;
background-image: url(http://s.4cdn.org/image/adminicon.gif);
background-repeat: no-repeat;
background-position-x: right;
I can get it to look like this:
https://i.imgur.com/lg3ra6Y.png
Of course I want to get rid of the bullets.