-
-
Save kasper93/c27bb264d409128d3fd1a5c683fecf0d to your computer and use it in GitHub Desktop.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
ul { | |
display: flex; | |
flex-wrap: wrap; | |
height: 100%; | |
width: 300px; | |
} | |
li { | |
display: flex; | |
padding: 0.5em 1.5em; | |
} | |
table { | |
width: 100%; | |
table-layout: fixed; | |
} | |
table td { | |
background-color: #CCCCCC; | |
} | |
</style> | |
</head> | |
<body> | |
<ul> | |
<li> | |
<table> | |
<tbody> | |
<tr> | |
<td>first</td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li> | |
<table> | |
<tbody> | |
<tr> | |
<td>second</td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
</ul> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment