問題:
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