Advertisement
Guest User

Untitled

a guest
Apr 10th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.49 KB | None | 0 0
  1. /*
  2.     font-family: 'Lato', sans-serif;
  3.     font-family: 'Josefin Sans', sans-serif;
  4. */
  5. *, *:before, *:after{
  6.   box-sizing:border-box;
  7. }
  8. body
  9. {
  10.     background-color: #212121;
  11.     margin: 0;
  12.     font-family: 'Lato', sans-serif;
  13.     font-size: 20px;
  14. }
  15. header
  16. {
  17.     text-align: center;
  18.     font-size: 40px;
  19. }
  20. h1.naglowek
  21. {
  22.     color: white;
  23.     text-transform: uppercase;
  24. }
  25. main
  26. {
  27.     text-align: center;
  28. }
  29. .pole
  30. {
  31.     font-size: 15px;
  32.     padding: 3px;
  33. }
  34. .chwyt
  35. {
  36.     height: 60px;
  37.     width: 800px;
  38.     text-align: center;
  39.     margin-left: auto;
  40.     margin-right: auto;
  41. }
  42. .wynik
  43. {
  44.     text-align:center;
  45.     margin: 0 auto;
  46.     height: 60px;
  47.     float:left;
  48.     width: 250px;
  49.     border: 1px solid white;
  50. }
  51. footer
  52. {
  53.     width: 100%;
  54.     bottom: 0;
  55.     position: absolute;
  56.     background-color: #3498db;
  57. }
  58. .stopa
  59. {
  60.     color: white;
  61.     text-align: center;
  62.     font-size: 18px;
  63.     font-family: "Lato";
  64. }
  65. a
  66. {
  67.     color: white;
  68.     text-decoration: none;
  69. }
  70. .btn
  71. {
  72.     background: #3498db;
  73.     background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  74.     background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  75.     background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  76.     background-image: -o-linear-gradient(top, #3498db, #2980b9);
  77.     background-image: linear-gradient(to bottom, #3498db, #2980b9);
  78.     -webkit-border-radius: 28;
  79.     -moz-border-radius: 28;
  80.     border-radius: 28px;
  81.     font-family: Arial;
  82.     color: #ffffff;
  83.     font-size: 20px;
  84.     padding: 10px 20px 10px 20px;
  85.     text-decoration: none;
  86.     -webkit-transition-duration: 0.3s;
  87.     transition-duration: 0.3s;
  88.     -webkit-transition-property: transform;
  89.     transition-property: transform;
  90.     overflow: hidden;
  91. }
  92. .btn:hover
  93. {
  94.     background: #3cb0fd;
  95.     background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  96.     background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  97.     background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  98.     background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  99.     background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  100.     text-decoration: none;
  101.     color: #fff;
  102.     -webkit-transform: scale(1.1);
  103.     transform: scale(1.1);
  104. }
  105. .btn:focus, .btn:active
  106. {
  107.     -webkit-transform: scale(1.1);
  108.     transform: scale(1.1);
  109. }
  110. .btn:before {
  111.     content: "";
  112.     background-color: #fff;
  113.     height: 100%;
  114.     width: 40px;
  115.     display: block;
  116.     position: absolute;
  117.     top: 0;
  118.     left: -70px;
  119.     transform: skewX(-45deg) translateX(0px);
  120.     transition: none;
  121. }
  122. .btn:hover:before{
  123.     transform: skewX(-45deg) translateX(250px);
  124.     transition: all 0.4s ease-in;
  125. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement