.
do not copy code using translator
Before and After
The :before and :after pseudo elements are used to place content before and after the content of another element
In XtGems sylesheet editor you must use "custom css" to enter the "content" property and value
before and after .befaft { background-color: black; border-width: 2px; border-style: dotted; border-color: red; padding: 2px; color: yellow; }
.befaft:before { content: url(http://graham.yn.lt/tutorial/images/rainbow.png); }
.befaft:after { content: url(http://graham.yn.lt/tutorial/images/wobniar.png); }
Rounded div using :before and :afterBACK