I want to add a blank space after some content, however the content: " "; doesn’t seem to work.

This is my code:

h2:after {
    content: " ";
}

… which doesn’t work, however this does:

h2:after {
    content: "-";
}

What am I doing wrong?

5 Answers
5

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *