Advertisement
tomkirk

Drop Down Links (Hover)

Aug 16th, 2013
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. DROP DOWN MENU #1
  2.  
  3. 1. COPY AND PASTE THE FOLLOWING BEFORE </STYLE>
  4.  
  5. #links{
  6. font-family:courier new;
  7. height:24px;
  8. overflow:hidden;
  9. -webkit-transition: all 0.3s ease-out;
  10. -moz-transition: all 0.3s ease-out;
  11. transition: all 0.3s ease-out;
  12. }
  13.  
  14. #links:hover{
  15. height:106px;
  16. }
  17.  
  18. .links{
  19. padding:7px;
  20. padding-top:2px;
  21. background:#f7f7f7; /*you can change this color to whatever you'd like*/
  22. }
  23.  
  24. .links a{
  25. display:block;
  26. text-transform:uppercase;
  27. letter-spacing:1px;
  28. font-size:8px;
  29. }
  30.  
  31. .linkstitle{
  32. text-align:center;
  33. font-weight:bold;
  34. text-transform:uppercase;
  35. font-size:10px;
  36. letter-spacing:1px;
  37. height:14px;
  38. padding:5px;
  39. background:#e8e8e8; /*you can change this color to whatever you'd like*/
  40. }
  41.  
  42. 2. THEN COPY AND PASTE THE FOLLOWING AFTER {DESCRIPTION}
  43.  
  44. <div id="links">
  45. <div class="linkstitle">links</div>
  46. <div class="links">
  47. <a href=" URL "> LINK NAME</a>
  48. <a href=" URL "> LINK NAME</a>
  49. <a href=" URL "> LINK NAME</a>
  50. <a href=" URL "> LINK NAME</a>
  51. <a href=" URL "> LINK NAME</a>
  52. </div>
  53. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement