0

Twitterのブートストラップで「例」の見出しを見てきましたが、それは私が望んでいたものではありません。私がやりたいことは、コンテンツを動的に変更することです。

この例についてhttp://jsfiddle.net/YdusM/10/に変更しようとしましたが、成功しませんでした<div class="well example" style=""><div class="well example" style="content:"dsd"">

それが可能だ??私が間違っていることは何ですか?

ありがとう

4

1 に答える 1

0

This can't work, because it's the :before that holds the "Example" Text.

You can do it like this (JSFiddle)

HTML

<div class="well example tree">Tree</div>

CSS

.tree:before { content: "Tree"; }
于 2013-03-14T19:32:49.320 に答える