Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width">
  6. <title>JS Bin</title>
  7. <style id="jsbin-css">
  8. ul {
  9. box-shadow: 1px 1px 3px #555;
  10. margin:50px auto;
  11. padding: 0px;
  12. width: 120px;
  13. transition: all .2s ease-in, transform 1.8s ease-in-out;
  14. text-align: center;
  15. }
  16.  
  17. ul:hover {
  18. box-shadow: 2px 4px 3px #555;
  19. cursor: pointer;
  20. background: lightblue;
  21. color: brown;
  22. transform: rotate(360deg) scale(1.2);
  23.  
  24. }
  25. li {
  26. box-sizing: border-box;
  27. width: 100%;
  28. list-style: none;
  29. padding: 10px 10px;
  30. background:#fff;
  31. background: transparent;
  32.  
  33. }
  34.  
  35. li:not(:last-child){
  36. border-bottom: 1px solid #111;
  37. }
  38. </style>
  39. </head>
  40. <body>
  41.  
  42. <ul>
  43. <li>First</li>
  44. <li>Second</li>
  45. <li>Last</li>
  46. </ul>
  47.  
  48.  
  49.  
  50. <script id="jsbin-source-css" type="text/css">ul {
  51. box-shadow: 1px 1px 3px #555;
  52. margin:50px auto;
  53. padding: 0px;
  54. width: 120px;
  55. transition: all .2s ease-in, transform 1.8s ease-in-out;
  56. text-align: center;
  57. }
  58.  
  59. ul:hover {
  60. box-shadow: 2px 4px 3px #555;
  61. cursor: pointer;
  62. background: lightblue;
  63. color: brown;
  64. transform: rotate(360deg) scale(1.2);
  65.  
  66. }
  67. li {
  68. box-sizing: border-box;
  69. width: 100%;
  70. list-style: none;
  71. padding: 10px 10px;
  72. background:#fff;
  73. background: transparent;
  74.  
  75. }
  76.  
  77. li:not(:last-child){
  78. border-bottom: 1px solid #111;
  79. }</script>
  80. </body>
  81. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement