OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 span, ::before, ::after { color: green; } | |
4 #before::before { content: "P"; } | |
5 #after::after { content: "S"; } | |
6 </style> | |
7 <p>There should be two green PASSes below.</p> | |
8 <div id="before"><span>ASS</span></div> | |
9 <div id="after"><span>PAS</span></div> | |
10 <div id="noBeforeAfter"></div> | |
OLD | NEW |