ujiajah1

css form login/konsep-login

May 13th, 2016
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.10 KB | None | 0 0
  1. html, body {
  2.   background: url(hipster.jpg) no-repeat center center fixed;
  3.   -webkit-background-size: cover;
  4.   -moz-background-size: cover;
  5.   -o-background-size: cover;
  6.   background-size: cover;
  7. }
  8.  
  9. #full-screen-background-image {
  10.   z-index: -999;
  11.   min-height: 0%;
  12.   min-width: 1024px;
  13.   width: 100%;
  14.   height: auto;
  15.   position: fixed;
  16.   top: 0;
  17.   left: 0;
  18. }
  19.  
  20. #wrapper {
  21.   position: relative;
  22.   width: 800px;
  23.   min-height: 200px;
  24.   margin: 10px auto;
  25.   color: #FFFFFF;
  26. }
  27.  
  28.  
  29. div {
  30.     color:#FFFFFF;
  31.     font-size: 14px;
  32. }
  33.  
  34. .link {
  35.     color:#FFFFFF;
  36.     font-size: 14px;
  37.    
  38. }
  39.  
  40. .puisi {
  41.     border: 1px solid black;
  42.     padding: 10px;
  43.     width: 400px;
  44.     height: 200px;
  45.     text-align: center;
  46. }
  47.  
  48. .puisi-panjang {
  49.     border: 1px solid black;
  50.     padding: 10px;
  51.     width: 400px;
  52.     height: 400px;
  53.     text-align: center;
  54. }
  55. /*--------------------------Untuk form biar unyu unyu------------------------------------*/
  56. #feedback-page{
  57.     text-align:center;
  58. }
  59.  
  60. #form-main{
  61.     width:100%;
  62.     float:left;
  63.     padding-top:0px;
  64. }
  65.  
  66. #form-div {
  67.     background-color:rgba(72,72,72,0.4);
  68.     padding-left:35px;
  69.     padding-right:35px;
  70.     padding-top:35px;
  71.     padding-bottom:50px;
  72.     width: 450px;
  73.     float: left;
  74.     left: 50%;
  75.     position: absolute;
  76.   margin-top:30px;
  77.     margin-left: -260px;
  78.   -moz-border-radius: 7px;
  79.   -webkit-border-radius: 7px;
  80. }
  81.  
  82. .feedback-input {
  83.     color:#3c3c3c;
  84.     font-family: Helvetica, Arial, sans-serif;
  85.   font-weight:500;
  86.     font-size: 18px;
  87.     border-radius: 0;
  88.     line-height: 22px;
  89.     background-color: #fbfbfb;
  90.     padding: 13px 13px 13px 54px;
  91.     margin-bottom: 10px;
  92.     width:100%;
  93.     -webkit-box-sizing: border-box;
  94.     -moz-box-sizing: border-box;
  95.     -ms-box-sizing: border-box;
  96.     box-sizing: border-box;
  97.   border: 3px solid rgba(0,0,0,0);
  98. }
  99.  
  100. .feedback-input:focus{
  101.     background: #fff;
  102.     box-shadow: 0;
  103.     border: 3px solid #3498db;
  104.     color: #3498db;
  105.     outline: none;
  106.   padding: 13px 13px 13px 54px;
  107. }
  108.  
  109. .focused{
  110.     color:#30aed6;
  111.     border:#30aed6 solid 3px;
  112. }
  113.  
  114. /* Icons ---------------------------------- */
  115. #name{
  116.     background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
  117.     background-size: 30px 30px;
  118.     background-position: 11px 8px;
  119.     background-repeat: no-repeat;
  120. }
  121.  
  122. #name:focus{
  123.     background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
  124.     background-size: 30px 30px;
  125.     background-position: 8px 5px;
  126.   background-position: 11px 8px;
  127.     background-repeat: no-repeat;
  128. }
  129.  
  130. #email{
  131.     background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
  132.     background-size: 30px 30px;
  133.     background-position: 11px 8px;
  134.     background-repeat: no-repeat;
  135. }
  136.  
  137. #email:focus{
  138.     background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
  139.     background-size: 30px 30px;
  140.   background-position: 11px 8px;
  141.     background-repeat: no-repeat;
  142. }
  143.  
  144. #comment{
  145.     background-image: url(http://rexkirby.com/kirbyandson/images/comment.svg);
  146.     background-size: 30px 30px;
  147.     background-position: 11px 8px;
  148.     background-repeat: no-repeat;
  149. }
  150.  
  151. textarea {
  152.     width: 100%;
  153.     height: 150px;
  154.     line-height: 150%;
  155.     resize:vertical;
  156. }
  157.  
  158. input:hover, textarea:hover,
  159. input:focus, textarea:focus {
  160.     background-color:white;
  161. }
  162.  
  163. #button-blue{
  164.     font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  165.     float:left;
  166.     width: 100%;
  167.     border: #fbfbfb solid 4px;
  168.     cursor:pointer;
  169.     background-color: #3498db;
  170.     color:white;
  171.     font-size:24px;
  172.     padding-top:22px;
  173.     padding-bottom:22px;
  174.     -webkit-transition: all 0.3s;
  175.     -moz-transition: all 0.3s;
  176.     transition: all 0.3s;
  177.   margin-top:-4px;
  178.   font-weight:700;
  179. }
  180.  
  181. #button-blue:hover{
  182.     background-color: rgba(0,0,0,0);
  183.     color: #0493bd;
  184. }
  185.    
  186. .submit:hover {
  187.     color: #3498db;
  188. }
  189.    
  190. .ease {
  191.     width: 0px;
  192.     height: 74px;
  193.     background-color: #fbfbfb;
  194.     -webkit-transition: .3s ease;
  195.     -moz-transition: .3s ease;
  196.     -o-transition: .3s ease;
  197.     -ms-transition: .3s ease;
  198.     transition: .3s ease;
  199. }
  200.  
  201. .submit:hover .ease{
  202.   width:100%;
  203.   background-color:white;
  204. }
  205.  
  206. @media only screen and (max-width: 580px) {
  207.     #form-div{
  208.         left: 3%;
  209.         margin-right: 3%;
  210.         width: 88%;
  211.         margin-left: 0;
  212.         padding-left: 3%;
  213.         padding-right: 3%;
  214.     }
  215. }
Advertisement
Add Comment
Please, Sign In to add comment