Created
July 26, 2019 14:49
-
-
Save tisufa/11cf76829a32f7b215e2c52c8c9cb4a9 to your computer and use it in GitHub Desktop.
Login Form HTML & CSS Desain Pertama: https://www.duniacara.com/cara-membuat-login-form-dengan-html-dan-css-desain-1/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*{ | |
padding: 0; | |
margin: 0; | |
box-sizing: border-box; | |
font-family: sans-serif; | |
} | |
body{ | |
background: #c0c0c0; | |
} | |
div.konten{ | |
background: #ffffff; | |
width: 350px; | |
margin: 222px auto 0; | |
border-radius: 16px; | |
min-height: 256px; | |
overflow: hidden; | |
} | |
div.kepala{ | |
background: #f85252; | |
padding: 10px 22px; | |
height: 60px; | |
} | |
div.kepala h2.judul{ | |
color: #fff; | |
font-weight: normal; | |
line-height: 40px; | |
display: inline-block; | |
} | |
div.lock{ | |
background-image: url("lock.png"); | |
background-position: center; | |
background-size: 38px; | |
display: inline-block; | |
width: 25px; | |
height: 25px; | |
margin-top: 8px; | |
float: left; | |
margin-right: 10px; | |
} | |
div.artikel{ | |
padding:10px 22px 0; | |
color: #808080; | |
} | |
div.artikel div.grup{ | |
margin: 16px 0; | |
} | |
div.artikel div.grup label, | |
div.artikel div.grup input{ | |
display: block; | |
} | |
div.artikel div.grup label{ | |
font-size: 13px; | |
margin-bottom: 10px; | |
} | |
div.artikel div.grup input[type="text"], | |
div.artikel div.grup input[type="password"]{ | |
width: 100%; | |
height: 30px; | |
padding: 0 10px; | |
background: #eeeeee; | |
border:none; | |
color: #808080; | |
} | |
div.artikel div.grup input[type="submit"]{ | |
background: #33cd77; | |
padding: 4px 16px; | |
margin: 0 auto; | |
border: 1px solid #33cd77; | |
border-radius: 2px; | |
color: #fff; | |
cursor: pointer; | |
} | |
div.artikel div.grup input[type="submit"]:hover{ | |
background: #28a45e; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment