问题:
I want to add a blank space after some content, however the content: " ";
我想在一些内容后添加一个空格,但是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?我究竟做错了什么?
解决方案:
参考一: https://stackoom.com/question/MwNB参考二: Add a space (" ") after an element using :after