Advertisement
szymcio93

rozne

Jun 9th, 2015
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. p[id^="son"]:hover a
  2. {
  3. text-decoration: none;
  4. }
  5. .............................................
  6. <p onclick="z1()">paragraf 1</a></p>
  7. function z1()
  8. {
  9. var f = document.getElementsByTagName('p');
  10. for(var i = 0; i < f.length; i++)
  11. f[i].style.color="red";
  12. }
  13. .......................................................
  14. p:not(#child4):hover {
  15. color: white;
  16. background-color: #a70000;
  17. }
  18.  
  19. p:not(#child4):hover:before {
  20. content: “=== “;
  21. }
  22.  
  23. p:not(#child4):hover:after {
  24. content: “ ===“;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement