Dav*_*van 46 css css3 pseudo-element
我有一个:开头'报价'之前和之后:收盘报价.
现在我想要的是:之后:之后的'引用'参考但我不能让它工作.
有谁知道这是否可能?
我的代码到目前为止: -
blockquote:before { content: '\201C'; }
blockquote:after { content: '\201D'; }
blockquote {
font-size: 22px;
line-height: 24px;
text-indent:60px;
}
blockquote:before {
font-size: 170px;
margin-left: -136px;
margin-top: 50px;
opacity: 0.2;
position: absolute;
overflow:visible;
float:left;
width:135px;
}
blockquote:after {
float: right;
font-size: 170px;
margin-right: 35px;
margin-top: 33px;
opacity: 0.2;
overflow:visible;
width:135px;
}
blockquote[cite]:after:after {
display: block;
text-align: right;
content: "\2014\ " attr(cite);
font-style: normal;
font-size: 0.8em;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
14203 次 |
| 最近记录: |