>> English << | česky | PortuguêsZVON > Tutorials > CSS2 tutorial
>> 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