Advertisement
Guest User

Untitled

a guest
May 30th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. /* has attribute */
  2. div[class] { }
  3.  
  4. /* is attribute */
  5. div[class="foo"] { }
  6.  
  7. /* contains single word */
  8. div[class="foo"] { }
  9.  
  10. /* starts with single word */
  11. div[class|="foo"] { }
  12.  
  13. /* starts with */
  14. div[class^="foo"] { }
  15.  
  16. /* ends with */
  17. div[class$="foo"] { }
  18.  
  19. /* contains */
  20. div[class*="foo"] { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement