Skip to content

Instantly share code, notes, and snippets.

@JerrySievert
Created May 20, 2011 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JerrySievert/983899 to your computer and use it in GitHub Desktop.
Save JerrySievert/983899 to your computer and use it in GitHub Desktop.
stylus bug
table {
width: 600px;
}
table thead tr th {
text-align: center;
font-weight: bold;
}
table tbody tr:nth-child(odd) {
background-color: #fff;
}
table tbody tr:nth-child(even) {
background-color: #ddd;
}
table tbody tr .currency_no_total,
table tbody tr td.number_no_total,
table tbody tr td.number,
table tbody tr td.currency {
text-align: right;
}
table tbody tr td.string {
text-align: left;
}
table
width 600px
thead tr th
text-align center
font-weight bold
tbody
tr:nth-child(odd)
background-color white
tr:nth-child(even)
background-color #ddd
tr
td.currency_no_total
td.number_no_total
td.number
td.currency
text-align right
td.string
text-align left
table {
width: 600px;
}
table thead tr th {
text-align: center;
font-weight: bold;
}
table tbody tr:nth-child(odd) {
background-color: #fff;
}
table tbody tr:nth-child(even) {
background-color: #ddd;
}
table tbody tr td.currency_no_total,
table tbody tr td.number_no_total,
table tbody tr td.number,
table tbody tr td.currency {
text-align: right;
}
table tbody tr td.string {
text-align: left;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment