【发布时间】:2015-10-08 23:19:35
【问题描述】:
<div style="What I need to put inside this tag?"></div>
是否可以在 html 的 style 标记中执行此操作?
div::before {
content: "Read this: ";
}
怎么做?
谢谢!
【问题讨论】:
<div style="What I need to put inside this tag?"></div>
是否可以在 html 的 style 标记中执行此操作?
div::before {
content: "Read this: ";
}
怎么做?
谢谢!
【问题讨论】:
简短回答:你不能。
在这里提问和回答:Using CSS :before and :after pseudo-elements with inline CSS?
【讨论】: