Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我有以下 CSS:
.myStyle { background-color: #e5e5e5; } .myStyle:after { content: "My Content"; }
以及以下html:
<div class="myStyle"> Set content for after? </div>
我想用我的 angularjs 中的值设置contentfor 。after{{ client.Name }}
content
after
{{ client.Name }}
这可能吗?如何?
只需在它之后创建一个元素
<div class="myStyle">blah</div><div class="afterMyStyle">{{ client.Name }}</div>