html - How to modify "sign in" page using CSS? -


i trying modify regular sign in page. want input lines instead of boxes. posting link sign in page image have right now:

http://prntscr.com/2o9n8z

instead of boxes here, want email address, password , confirm password fields lines.

my css code below:

@charset "utf-8"; /* css document */  /* ---------- general ---------- */ /* body {     background: #ffffff;     color: #999;     font: 100%/1.5em sans-serif;     margin: 0; } */   {     color: #999;     text-decoration: none; }  a:hover { color: #1dabb8; }  fieldset {     border: none;     margin: 0; }  input {     border: none;     font-family: inherit;     font-size: inherit;     margin: 0;     -webkit-appearance: none; }  input:focus {   outline: none; }  input[type="submit"] { cursor: pointer; }  .clearfix { *zoom: 1; } .clearfix:before, .clearfix:after {     content: "";     display: table;  } .clearfix:after { clear: both; }   #login-form {     margin: 50px auto;     width: 300px; }  #login-form h3 {     background-color: #79a002;     border-radius: 5px 5px 0 0;     color: #fff;     font-size: 14px;     padding: 20px;     text-align: center;     text-transform: uppercase; }  #login-form fieldset {     background: #fff;     border-radius: 0 0 -1px -1px;     padding: 0px;  }  #login-form fieldset:before {     background-color: #fff;     content: "";     height: 8px;     left: 50%;     margin: -4px 0 0 -4px;     position: absolute;     top: 0;     -webkit-transform: rotate(45deg);     -moz-transform: rotate(45deg);     -ms-transform: rotate(45deg);     -o-transform: rotate(45deg);     transform: rotate(45deg);     width: 8px; }  #login-form input {     font-size: 14px; }  #login-form input[type="email"], #login-form input[type="password"] {     border: 1px solid #dcdcdc;     padding: 12px 10px;     width: 300px; }  #login-form input[type="email"] {     border-radius: 3px 3px 0 0; }  #login-form input[type="password"] {     border-top: none;     border-radius: 0px 0px 3px 3px; }  #login-form input[type="submit"] {     background: #1dabb8;     border-radius: 3px;     color: #fff;     float: right;     font-weight: bold;     margin-top: 20px;     padding: 12px 20px; } 

i modifying border: 1px solid #dcdcdc; in :

#login-form input[type="email"], #login-form input[type="password"] {     border: 1px solid #dcdcdc;     padding: 12px 10px;     width: 300px; } 

but haven't been able required output. should change in code required result ?

you can try this:

working example

#login-form input[type="email"], #login-form input[type="password"] {     border:none; /* clear previous borders */     border-bottom: 1px solid #dcdcdc; /* add bottom border */     padding: 12px 10px;     width: 300px; } 

Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -