Advertisement
WhiteofNotGrey

Untitled

May 13th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.05 KB | None | 0 0
  1. body {
  2.     margin:0;
  3.     background:#F9F;
  4.     font-family:"Courier New", Courier, monospace;
  5.     font-weight:300;
  6.     text-align:center;
  7. }
  8.  
  9. .container{
  10.     width:80%;
  11.     margin:0 auto;
  12. }
  13.  
  14. header{
  15.     background:#999;
  16. }
  17.  
  18. header::after{
  19.     content: '';
  20.     display:table;
  21.     clear:both;
  22. }
  23.  
  24. .logo{
  25.     float:left;
  26.     padding:10px 0;
  27. }
  28.  
  29. nav{
  30.     float:right;
  31. }
  32.  
  33. nav ul{
  34.     margin:0;
  35.     padding:0;
  36.     list-style:none;
  37. }
  38.  
  39. nav li{
  40.     display:inline-block;
  41.     margin-left:70px;
  42.     padding-top:23px;
  43.    
  44.     position:relative;
  45. }
  46.  
  47. nav a{
  48.     color:#444;
  49.     text-decoration:none;
  50.     text-transform:uppercase;
  51.     font-size:14px;
  52. }
  53.  
  54. nav a:hover{
  55.     color:#ccc;
  56. }
  57.  
  58. nav a::before {
  59.     content:'';
  60.     display:block;
  61.     height:5px;
  62.     background-color:#666;
  63.    
  64.     position: absolute;
  65.     top:0;
  66.     width:0%;
  67.    
  68.     transition:all ease-in-out 250ms;
  69. }
  70.  
  71. nav a:hover::before {
  72.     width:100%;
  73. }
  74.  
  75. .welcometowebsite{
  76.     text-align:center;
  77. }
  78.  
  79. .form{
  80.     width:300px;
  81.     padding:40px;
  82.     top:90%;
  83.     right:35%;
  84.     display:inline-block;
  85.     transition:translate(-50%, -50%);
  86.     background:#666;
  87.     text-align:center;
  88. }
  89.  
  90. .form h1{
  91.     color:white;
  92.     text-transform:uppercase;
  93.     font-weight:500;
  94. }
  95.  
  96. .form input[type="text"],.form input[type="password"]{
  97.     border:0;
  98.     background:none;
  99.     display:block;
  100.     margin:20px auto;
  101.     text-align: center;
  102.     border:2px solid #3498db;
  103.     width:200px;
  104.     outline:none;
  105.     color:white;
  106.     border-radius:24px;
  107.     transition:0.25s;
  108. }
  109.  
  110. .form input[type="text"]:focus,.form input[type="password"]:focus{
  111.     width:280px;
  112.     border-color:#2ecc71;
  113. }
  114.  
  115. .form input[type ="submit"]{
  116.     border:0;
  117.     background:none;
  118.     display:block;
  119.     margin:20px auto;
  120.     text-align: center;
  121.     border:2px solid #2ecc71;
  122.     padding:14px 10px;
  123.     outline:none;
  124.     color:white;
  125.     border-radius:24px;
  126.     transition:0.25s;
  127. }
  128.  
  129. .form input[type ="reset"]{
  130.     border:0;
  131.     background:none;
  132.     display:block;
  133.     margin:20px auto;
  134.     text-align: center;
  135.     border:2px solid #2ecc71;
  136.     padding:14px 10px;
  137.     outline:none;
  138.     color:white;
  139.     border-radius:24px;
  140.     transition:0.25s;
  141. }
  142.  
  143. footer{
  144.     width:100%;
  145.     background:#333;
  146.     padding:60px 0px;
  147. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement