[英]HTML/CSS only working on the first and last target
The following html/css works correctly on the first and last "she loves him a lot." 下面的html / css可以在第一个和最后一个“她非常爱他”上正常工作。 lines, why doesn't it draw the rounded rectangle around the entire sentence for the 3, 4, 5 iterations.
行,为什么不为3、4、5次迭代在整个句子周围绘制圆角矩形。
http://jsfiddle.net/xa3apsdc/16/ http://jsfiddle.net/xa3apsdc/16/
attention to this code: 注意此代码:
span[class]:before {
width:100%;
text-align:center;
float:right;
font:bold 10px arial;
color:#00f;
content: attr(class) "";
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.