Guest User

Untitled

a guest
May 12th, 2016
64
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. HTML:
  2. <p id="test"> <a>text i don't want to hide</a> <a>text i want to hide</a><span>other text i want to hide</span> </p>
  3.  
  4. CSS:
  5.  
  6. #test a:nth-of-type(2) {
  7. display:none;
  8. }
  9. #test span {
  10. display:none;
  11. }
RAW Paste Data