我一直在看"example" heading in twitter bootstrap但这不是我想要的。 我想做的是动态更改内容。
关于这个例子http://jsfiddle.net/YdusM/10/我试着改变<div class="well example" style="">
至 <div class="well example" style="content:"dsd"">
但没有成功。
这可能吗??我做错了什么?
谢谢
最佳答案
这行不通,因为它是保存“示例”文本的 :before
。
你可以这样做 ( JSFiddle )
HTML
<div class="well example tree">Tree</div>
CSS
.tree:before { content: "Tree"; }
关于css - “example” 推特 Bootstrap 中的标题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15418235/