Last active
August 29, 2015 14:25
-
-
Save dukegod/3eaeeb3afb291c0999a7 to your computer and use it in GitHub Desktop.
eNPdQE
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
<div class="input"> | |
<input type="text" placeholder="dddd" /> | |
</div> | |
<hr> |
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
.input{ | |
margin:20px; | |
width:300px; | |
height:20px; | |
background-color:#eee; | |
border:0; | |
border-bottom:1px solid red; | |
position:relative; | |
&::before{ | |
content:''; | |
border-left:1px solid blue; | |
height:10px; | |
width:10px; | |
position:absolute; | |
bottom:0; | |
left:0px; | |
} | |
&::after{ | |
content:''; | |
border-right:1px solid red; | |
height:10px; | |
width:10px; | |
position:absolute; | |
/*top:50%;*/ | |
bottom:0; | |
right:0px; | |
} | |
} | |
input{ | |
display:block; | |
width:100%; | |
height:100%; | |
outline:0; | |
border:0; | |
padding-left:10px; | |
} |
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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment