ujiajah1

costum.css/form-login-konsep-answer-login

May 13th, 2016
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.42 KB | None | 0 0
  1. *{padding:0;margin:0}
  2. html{
  3.     background: url(hipster.jpg) no-repeat center center fixed;
  4.       -webkit-background-size: cover;
  5.       -moz-background-size: cover;
  6.       -o-background-size: cover;
  7.       background-size: cover;
  8.     font-family: 'Open Sans', sans-serif;
  9.     font-size:13px;
  10.     text-shadow: 0px 1px 2px #000;
  11. }
  12. a{color:#999;text-decoration:none}
  13. a:hover{border-bottom:1px solid #999}
  14. .header{
  15.     padding:8% 2%;
  16.     font-size:24px;
  17.     text-shadow: 0px 1px 0px #333;
  18. }  
  19.     h1.brand{
  20.         color:#FFFFFF;
  21.         font-size:50px;
  22.         font-family: 'Oleo Script', cursive;
  23.         text-shadow: 0px 2px 3px rgb(239, 0, 131);
  24.     }
  25.     .header span.red{color:#f20000;}
  26.     .header span.white{color:#fff;}
  27.     .header span.yellow{color:#FFFF33;}
  28.     .header span.green{color:#00FF33;}
  29.     .header span.puisi{color:#00FF33;}
  30.  
  31. /*===================================== */
  32. .thumbnail {
  33.     width: 200px;
  34.     height: auto;
  35.     overflow: hidden;
  36.     position: relative;
  37. }
  38. .thumbnail img {
  39.     width: 100%;
  40. }
  41. .thumbnail .thumb.hover {
  42.     position: absolute;
  43.     top: 0;
  44.     bottom: 0;
  45.     right: 0;
  46.     left: 0;
  47.     z-index: 2;
  48.     display: -webkit-box;
  49.     display: -webkit-flex;
  50.     display: -ms-flexbox;
  51.     display: flex;
  52.     -webkit-box-pack: center;
  53.     -webkit-justify-content: center;
  54.     -ms-flex-pack: center;
  55.     justify-content: center;
  56.     -webkit-box-align: center;
  57.     -webkit-align-items: center;
  58.     -ms-flex-align: center;
  59.     align-items: center;
  60.     -webkit-transition: all .3s ease;
  61.     transition: all .3s ease;
  62. }
  63. .button {
  64.     padding: .6em;
  65.     opacity:0;
  66.     border: .4px solid white;
  67.     color: white;
  68.     text-decoration: none;
  69.     -webkit-transition: all .3s ease;
  70.     transition: all .3s ease;
  71.     text-transform: uppercase;
  72.     -webkit-transform: scale(0);
  73.             transform: scale(0);   
  74. }
  75. /* animation */
  76. .thumbnail:hover .thumb.hover {
  77.     background-color: rgba(0, 0, 0, .4);
  78. }
  79. .thumbnail:hover .button {
  80.     opacity: 1;
  81.     -webkit-transform: scale(1);
  82.     transform: scale(1);
  83. }
  84. /*===================================== */
  85.  
  86. .footer{
  87.     padding:5% 2%;
  88.     width:95%;
  89.     position:absolute;
  90.     overflow:hidden;
  91.     color:#f4f4f4;
  92. }
  93.     .footer-left{
  94.         position:relative;
  95.         width:45%;
  96.         float:left;
  97.     }
  98.     .footer-right{
  99.         text-align:right;
  100.         position:relative;
  101.         width:45%;
  102.         float:right;
  103.     }
  104.    
  105.    
  106.     /*--------------------------Untuk form biar unyu unyu------------------------------------*/
  107. #feedback-page{
  108.     text-align:center;
  109. }
  110.  
  111. #form-main{
  112.     width:100%;
  113.     float:left;
  114.     padding-top:0px;
  115. }
  116.  
  117. #form-div {
  118.     background-color:rgba(72,72,72,0.4);
  119.     padding-left:35px;
  120.     padding-right:35px;
  121.     padding-top:35px;
  122.     padding-bottom:35px;
  123.     width: 300px;
  124.     float: left;
  125.     left: 50%;
  126.     position: absolute;
  127.   margin-top:30px;
  128.     margin-left: -260px;
  129.   -moz-border-radius: 7px;
  130.   -webkit-border-radius: 7px;
  131. }
  132.  
  133. .feedback-input {
  134.     color:#3c3c3c;
  135.     font-family: Helvetica, Arial, sans-serif;
  136.   font-weight:200;
  137.     font-size: 18px;
  138.     border-radius: 0;
  139.     line-height: 22px;
  140.     background-color: #fbfbfb;
  141.     padding: 13px 13px 13px 54px;
  142.     margin-bottom: 10px;
  143.     width:100%;
  144.     -webkit-box-sizing: border-box;
  145.     -moz-box-sizing: border-box;
  146.     -ms-box-sizing: border-box;
  147.     box-sizing: border-box;
  148.   border: 3px solid rgba(0,0,0,0);
  149. }
  150.  
  151. .feedback-input:focus{
  152.     background: #fff;
  153.     box-shadow: 0;
  154.     border: 3px solid #3498db;
  155.     color: #3498db;
  156.     outline: none;
  157.   padding: 13px 13px 13px 54px;
  158. }
  159.  
  160. .focused{
  161.     color:#30aed6;
  162.     border:#30aed6 solid 3px;
  163. }
  164.  
  165. /* Icons ---------------------------------- */
  166. #name{
  167.     background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
  168.     background-size: 30px 30px;
  169.     background-position: 11px 8px;
  170.     background-repeat: no-repeat;
  171. }
  172.  
  173. #name:focus{
  174.     background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
  175.     background-size: 30px 30px;
  176.     background-position: 8px 5px;
  177.   background-position: 11px 8px;
  178.     background-repeat: no-repeat;
  179. }
  180.  
  181. #email{
  182.     background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
  183.     background-size: 30px 30px;
  184.     background-position: 11px 8px;
  185.     background-repeat: no-repeat;
  186. }
  187.  
  188. #email:focus{
  189.     background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
  190.     background-size: 30px 30px;
  191.   background-position: 11px 8px;
  192.     background-repeat: no-repeat;
  193. }
  194.  
  195. #comment{
  196.     background-image: url(http://rexkirby.com/kirbyandson/images/comment.svg);
  197.     background-size: 30px 30px;
  198.     background-position: 11px 8px;
  199.     background-repeat: no-repeat;
  200. }
  201.  
  202. textarea {
  203.     width: 100%;
  204.     height: 80px;
  205.     line-height: 150%;
  206.     resize:vertical;
  207. }
  208.  
  209. input:hover, textarea:hover,
  210. input:focus, textarea:focus {
  211.     background-color:white;
  212. }
  213.  
  214. #button-blue{
  215.     font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  216.     float:left;
  217.     width: 100%;
  218.     border: #fbfbfb solid 4px;
  219.     cursor:pointer;
  220.     background-color: #3498db;
  221.     color:white;
  222.     font-size:24px;
  223.     padding-top:18px;
  224.     padding-bottom:18px;
  225.     -webkit-transition: all 0.3s;
  226.     -moz-transition: all 0.3s;
  227.     transition: all 0.3s;
  228.   margin-top:-4px;
  229.   font-weight:700;
  230. }
  231.  
  232. #button-blue:hover{
  233.     background-color: rgba(0,0,0,0);
  234.     color: #0493bd;
  235. }
  236.    
  237. .submit:hover {
  238.     color: #3498db;
  239. }
  240.    
  241. .ease {
  242.     width: 0px;
  243.     height: 74px;
  244.     background-color: #fbfbfb;
  245.     -webkit-transition: .3s ease;
  246.     -moz-transition: .3s ease;
  247.     -o-transition: .3s ease;
  248.     -ms-transition: .3s ease;
  249.     transition: .3s ease;
  250. }
  251.  
  252. .submit:hover .ease{
  253.   width:100%;
  254.   background-color:white;
  255. }
  256.  
  257. @media only screen and (max-width: 580px) {
  258.     #form-div{
  259.         left: 3%;
  260.         margin-right: 3%;
  261.         width: 88%;
  262.         margin-left: 0;
  263.         padding-left: 3%;
  264.         padding-right: 3%;
  265.     }
  266. }
Advertisement
Add Comment
Please, Sign In to add comment