after Selector

after Selector
CSS after Selector reference
The CSS after pseudo-element selector ( X::after { } ) is used to generate content to the targeted element or elements directly after the content inside of them renders. Reference the content property to see possible values of content types that can be generated, you can generate more than just string content.
CSS CODE EXAMPLE
<!DOCTYPE html>
<style type="text/css">
h3::after {
    content: " is love";
}
</style>
<h3>Joy</h3>
<h3>Fun</h3>
<h3>Respect</h3>
 

Joy

Fun

Respect

0 Response to "after Selector"

Post a Comment