Skip to content

Instantly share code, notes, and snippets.

@CharlesAnifowose
Created June 9, 2014 00:56
Show Gist options
  • Save CharlesAnifowose/42d66b88bc37649c1b09 to your computer and use it in GitHub Desktop.
Save CharlesAnifowose/42d66b88bc37649c1b09 to your computer and use it in GitHub Desktop.
A Pen by Charles Anifowose.
<table>
<tr>
<td>
col1
</td>
<td class="fill-input">
<input placeholder="Type here"/>
</td>
</tr>
</table>
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