相关疑难解决方法(0)

将伪元素嵌套在伪元素中

我有一个:开头'报价'之前和之后:收盘报价.

现在我想要的是:之后:之后的'引用'参考但我不能让它工作.

有谁知道这是否可能?

我的代码到目前为止: -

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)

css css3 pseudo-element

46
推荐指数
1
解决办法
1万
查看次数

标签 统计

css ×1

css3 ×1

pseudo-element ×1