Skip to content

Instantly share code, notes, and snippets.

@Codyzhao
Last active September 7, 2019 09:11
Show Gist options
  • Save Codyzhao/1a130f43c8fbcf89461df263c1f27d5e to your computer and use it in GitHub Desktop.
Save Codyzhao/1a130f43c8fbcf89461df263c1f27d5e to your computer and use it in GitHub Desktop.
Untitled
html {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}
table {
border-collapse: collapse;
border: 2px solid rgb(200,200,200);
letter-spacing: 1px;
font-size: 0.8rem;
}
td, th {
border: 1px solid rgb(190,190,190);
padding: 10px 20px;
}
th {
background-color: rgb(235,235,235);
}
td {
text-align: center;
}
tr:nth-child(even) td {
background-color: rgb(250,250,250);
}
tr:nth-child(odd) td {
background-color: rgb(245,245,245);
}
caption {
padding: 10px;
}
<!-- content to be placed inside <body>…</body> -->
<!--
Table Header:
Purchase, Location, Date, Evaluation, cost($)
Table Footer:
Sum
-->
<h1>Table Demo</h1>
<table border="1">
</table>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment