Skip to content

Instantly share code, notes, and snippets.

@dukegod
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dukegod/3eaeeb3afb291c0999a7 to your computer and use it in GitHub Desktop.
Save dukegod/3eaeeb3afb291c0999a7 to your computer and use it in GitHub Desktop.
eNPdQE
<div class="input">
<input type="text" placeholder="dddd" />
</div>
<hr>
.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;
}
<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