Advertisement
Guest User

Untitled

a guest
Oct 27th, 2011
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.39 KB | None | 0 0
  1. /* http://meyerweb.com/eric/tools/css/reset/
  2.    v2.0 | 20110126
  3.    License: none (public domain)
  4. */
  5.  
  6. html, body, div, span, applet, object, iframe,
  7. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  8. a, abbr, acronym, address, big, cite, code,
  9. del, dfn, em, img, ins, kbd, q, s, samp,
  10. small, strike, strong, sub, sup, tt, var,
  11. b, u, i, center,
  12. dl, dt, dd, ol, ul, li,
  13. fieldset, form, label, legend,
  14. table, caption, tbody, tfoot, thead, tr, th, td,
  15. article, aside, canvas, details, embed,
  16. figure, figcaption, footer, header, hgroup,
  17. menu, nav, output, ruby, section, summary,
  18. time, mark, audio, video {
  19.     margin: 0;
  20.     padding: 0;
  21.     border: 0;
  22.     font-size: 100%;
  23.     font: inherit;
  24.     vertical-align: baseline;
  25. }
  26. /* HTML5 display-role reset for older browsers */
  27. article, aside, details, figcaption, figure,
  28. footer, header, hgroup, menu, nav, section {
  29.     display: block;
  30. }
  31. body {
  32.     line-height: 1;
  33. }
  34. ol, ul {
  35.     list-style: none;
  36. }
  37. blockquote, q {
  38.     quotes: none;
  39. }
  40. blockquote:before, blockquote:after,
  41. q:before, q:after {
  42.     content: '';
  43.     content: none;
  44. }
  45. table {
  46.     border-collapse: collapse;
  47.     border-spacing: 0;
  48. }
  49.  
  50.  
  51. .myButton {
  52.     -moz-box-shadow:inset 0px 1px 0px 0px #d9d9d9;
  53.     -webkit-box-shadow:inset 0px 1px 0px 0px #d9d9d9;
  54.     box-shadow:inset 0px 1px 0px 0px #d9d9d9;
  55.     background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #1e62d0), color-stop(1, #21467b) );
  56.     background:-moz-linear-gradient( center top, #1e62d0 5%, #21467b 100% );
  57.     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e62d0', endColorstr='#21467b');
  58.     background-color:#1e62d0;
  59.     -moz-border-radius:6px;
  60.     -webkit-border-radius:6px;
  61.     border-radius:6px;
  62.     border:1px solid #337fed;
  63.     display:inline-block;
  64.     color:#ffe27b;
  65.     font-family:arial;
  66.     font-size:15px;
  67.     font-weight:bold;
  68.     padding:6px 24px;
  69.     text-decoration:none;
  70.     text-shadow:1px 1px 0px #1570cd;
  71. }.myButton:hover {
  72.     background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #21467b), color-stop(1, #1e62d0) );
  73.     background:-moz-linear-gradient( center top, #21467b 5%, #1e62d0 100% );
  74.     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#21467b', endColorstr='#1e62d0');
  75.     background-color:#21467b;
  76. }.myButton:active {
  77.     position:relative;
  78.     top:1px;
  79. }
  80.  
  81.  
  82. .myButton2 {
  83.     -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
  84.     -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
  85.     box-shadow:inset 0px 1px 0px 0px #ffffff;
  86.     background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
  87.     background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
  88.     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
  89.     background-color:#ededed;
  90.     -moz-border-radius:6px;
  91.     -webkit-border-radius:6px;
  92.     border-radius:6px;
  93.     border:1px solid #dcdcdc;
  94.     display:inline-block;
  95.     color:#777777;
  96.     font-family:arial;
  97.     font-size:15px;
  98.     font-weight:bold;
  99.     padding:6px 24px;
  100.     text-decoration:none;
  101.     text-shadow:1px 1px 0px #ffffff;
  102. }.myButton2:hover {
  103.     background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
  104.     background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
  105.     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
  106.     background-color:#dfdfdf;
  107. }.myButton2:active {
  108.     position:relative;
  109.     top:1px;
  110. }
  111.  
  112.  
  113. .myButton3 {
  114.     -moz-box-shadow:inset 0px 1px 0px 0px #d9d9d9;
  115.     -webkit-box-shadow:inset 0px 1px 0px 0px #d9d9d9;
  116.     box-shadow:inset 0px 1px 0px 0px #d9d9d9;
  117.     background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #1e62d0), color-stop(1, #21467b) );
  118.     background:-moz-linear-gradient( center top, #1e62d0 5%, #21467b 100% );
  119.     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e62d0', endColorstr='#21467b');
  120.     background-color:#1e62d0;
  121.     -moz-border-radius:6px;
  122.     -webkit-border-radius:6px;
  123.     border-radius:6px;
  124.     border:1px solid #337fed;
  125.     display:inline-block;
  126.     color:#ffe27b;
  127.     font-family:arial;
  128.     font-size:15px;
  129.     font-weight:bold;
  130.     padding:6px 24px;
  131.     text-decoration:none;
  132.     text-shadow:1px 1px 0px #1570cd;
  133.    
  134.     transition: left 5s;
  135.     -moz-transition: left 5s; /* Firefox 4 */
  136.     -webkit-transition: left 5s; /* Safari and Chrome */
  137.     -o-transition: left 5s; /* Opera */
  138. }.myButton3:hover {
  139.     left:400px;
  140. }.myButton3:active {
  141.     position:relative;
  142.     top:1px;
  143.     left:400px;
  144. }
  145.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement