Guest User

Untitled

a guest
Feb 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. #main_container
  2. {
  3. width: 450px;
  4.  
  5. margin: 20px;
  6.  
  7. margin-left: auto;
  8.  
  9. margin-right: auto;
  10.  
  11. padding: 30px;
  12.  
  13. font-family: sans-serif;
  14.  
  15. border-radius: 5px;
  16.  
  17. border: 3px solid #999;
  18.  
  19. background: #00bfff;
  20.  
  21. }
  22.  
  23. #birth_date_input, #age_container
  24. {
  25. text-align: center;
  26.  
  27. margin: 20px;
  28.  
  29. margin-left: auto;
  30.  
  31. margin-right: auto;
  32.  
  33. }
  34.  
  35. #age_container
  36.  
  37. {
  38. margin: 40px 5px;
  39.  
  40. padding: 20px;
  41.  
  42. border-radius: 5px;
  43.  
  44. border: 1px solid #999;
  45.  
  46. font-weight: bolder;
  47.  
  48. background: #EEE;
  49.  
  50. font-size: 20px;
  51.  
  52. line-height: 40px;
  53. }
  54. .hedding {
  55.  
  56. color: #fff;
  57.  
  58. text-transform: uppercase;
  59.  
  60. font-size: 27px;
  61.  
  62. font-weight: bold;
  63.  
  64. margin-bottom: 20px;
  65.  
  66. }
  67.  
  68. #age span{
  69. color:green;
  70.  
  71. }
  72.  
  73. #calculate {
  74. border-radius: 2px;
  75.  
  76. background-color: #0db9f2;
  77.  
  78. border: 1px solid #fff;
  79.  
  80. color: #FFFFFF;
  81.  
  82. text-align: center;
  83.  
  84. font-size: 20px;
  85.  
  86. padding: 8px 27px;
  87.  
  88. width: 200px;
  89.  
  90. transition: all 0.5s;
  91.  
  92. cursor: pointer;
  93.  
  94. margin: 0 auto;
  95. }
  96.  
  97. #calculate span {
  98. cursor: pointer;
  99. display: inline-block;
  100. position: relative;
  101.  
  102. transition: 0.5s;
  103. }
  104.  
  105. #calculate span:after {
  106. content: ">";
  107.  
  108. position: absolute;
  109.  
  110. opacity: 0;
  111.  
  112. top: 0;
  113.  
  114. right: -20px;
  115.  
  116. transition: 0.5s;
  117. }
  118. #calculate:hover span {
  119. padding-right: 25px;
  120. }
  121. #calculate:hover span:after {
  122. opacity: 1;
  123. right: 0;
  124. }
  125. #birth_date_input input[type="date" i]
  126. {
  127. padding: 5px;
  128.  
  129. width: 58%;
  130. }
Add Comment
Please, Sign In to add comment