これは私のCSSファイルの一部です:HTMLの変更CSSのコンテンツ
.pricing .pricing-value .price:before {
position: absolute;
content: 'some text';
top: 10px;
left: -35px; }
私は私のhtmlファイルにスタイルを使用して別の何かに「テキスト」を変更したいと思います。それは可能ですか?つまり、
<span class="price" style='something_here'>
の内容を変更するために
content: attr(some-attribute)
を使用することができます。 –