A Pen by Charles Anifowose on CodePen.
Created
June 9, 2014 00:56
-
-
Save CharlesAnifowose/42d66b88bc37649c1b09 to your computer and use it in GitHub Desktop.
A Pen by Charles Anifowose.
This file contains 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
<table> | |
<tr> | |
<td> | |
col1 | |
</td> | |
<td class="fill-input"> | |
<input placeholder="Type here"/> | |
</td> | |
</tr> | |
</table> |
This file contains 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
table { | |
border-collapse: collapse; | |
} | |
table td { | |
border:1px solid #ccc; | |
padding:4px 8px; | |
} | |
td.fill-input { | |
padding:0px; | |
} | |
td.fill-input { | |
input, | |
input[type=text], | |
input[type=text]:hover, | |
input[type=text]:focus, | |
input[type=text]:active { | |
border:none; | |
border-radius:none; | |
outline: none; | |
outline-offset: 0; | |
box-sizing:border-box; | |
-moz-box-sizing:border-box; | |
height:100%; | |
width:100%; | |
padding:4px 8px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment