Created
October 23, 2012 19:01
-
-
Save Ricardo-Diaz/3940855 to your computer and use it in GitHub Desktop.
CSS: Simple Input with border that fades when active
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
//Simple Input with border that fades when active. | |
.simple-input { | |
display: block; | |
padding: 5px; | |
border: 4px solid #F1B720; | |
border-radius: 5px; | |
color: #333; | |
transition: all 0.3s ease-out; | |
} | |
.simple-input:hover { border-radius: 8px; } | |
.simple-input:focus { | |
outline: none; | |
border-radius: 8px; | |
border-color: #EBD292; | |
} Simple Input | |
.simple-input { | |
display: block; | |
padding: 5px; | |
border: 4px solid #F1B720; | |
border-radius: 5px; | |
color: #333; | |
transition: all 0.3s ease-out; | |
} | |
.simple-input:hover { border-radius: 8px; } | |
.simple-input:focus { | |
outline: none; | |
border-radius: 8px; | |
border-color: #EBD292; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment