使用 ::after 添加超过 1 个内容?
Adding more than 1 content with ::after?
我正在尝试了解 CSS 选择器 ::after
和 ::before
。
.h2 a:before{
content: "\f0c1";
font-family: FontAwesome;
font-size: 14px;
}
如果说 header 是 link,这将添加一个 FontAwesome 图标。但是,我想在 添加此图标后添加一个空的 space 。 CSS 这可能吗?
与"margin-right"一起[=13=]
我正在尝试了解 CSS 选择器 ::after
和 ::before
。
.h2 a:before{
content: "\f0c1";
font-family: FontAwesome;
font-size: 14px;
}
如果说 header 是 link,这将添加一个 FontAwesome 图标。但是,我想在 添加此图标后添加一个空的 space 。 CSS 这可能吗?
与"margin-right"一起[=13=]