Appearance
::after 伪元素用于在添加它的元素的内容之后显示所需的文本。 ::after 伪元素与 content 属性结合使用。 对于 ::after ,以下特征是典型的。 1、块元素添加 ::after 时,display 属性的值只能是:block、inline、none、marker。所有其他值将被视为块。 2. 在内联元素中添加 ::after 时,显示仅限于 inline 和 none 。所有其他的都将被视为内联。
element::after { content: "text"; }