I find I use the p:after
and p::after
I can get the same effect.(line 5 you can find it)
p:after {
content: "- add_after";
background-color: #f00;
}
<p>I am a boy。</p>
<p>I live in Duckburg。</p>
<p>this is my home</p>
So, whats the difference between the :after
and ::after
.