CSS 2 Example 10

>> English << | česky | Português ZVON > Tutorials > CSS2 tutorial
Intro / Search / ZVON
>> Example 10 << | Prev | Next | Index | Contents

With before and after pseudoelements a text can be added.

XML SourceCSS stylesheetExample link
(1)
<AAA>
<number>111 222 333 </number>
</AAA>

number:before {content: 'NUMBER = '}
number:after {content: ' //END '}
View output

AltStyle によって変換されたページ (->オリジナル) /