Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. CSS
  2.  
  3. p:nth-last-child(odd) {
  4. background: red;
  5. }
  6.  
  7. p:nth-last-child(even) {
  8. background: blue;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement