Created
January 22, 2014 11:13
-
-
Save malcomio/8557040 to your computer and use it in GitHub Desktop.
Table hover borders
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 hover borders | |
*/ | |
table { | |
border-collapse: collapse; | |
} | |
tr { | |
border-bottom: 1px solid transparent; | |
border-top: 1px solid transparent; | |
} | |
tr:hover td { | |
border-bottom: 1px solid #000000; | |
border-top: 1px solid #000000; | |
} | |
td { | |
padding: 1em; | |
} |
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> | |
<tbody> | |
<tr> | |
<td>table</td> | |
<td>row</td> | |
</tr> | |
<tr> | |
<td>table</td> | |
<td>row</td> | |
</tr> | |
<tr> | |
<td>table</td> | |
<td>row</td> | |
</tr> | |
<tr> | |
<td>table</td> | |
<td>row</td> | |
</tr> | |
<tr> | |
<td>table</td> | |
<td>row</td> | |
</tr> | |
<tr> | |
<td>table</td> | |
<td>row</td> | |
</tr> | |
<tr> | |
<td>table</td> | |
<td>row</td> | |
</tr> | |
<tr> | |
<td>table</td> | |
<td>row</td> | |
</tr> | |
<tr> | |
<td>table</td> | |
<td>row</td> | |
</tr> | |
<tr> | |
<td>table</td> | |
<td>row</td> | |
</tr> | |
</tbody> | |
</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
// alert('Hello world!'); |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment