Skip to content

Instantly share code, notes, and snippets.

@chriseppstein
Created October 25, 2012 20:46
Show Gist options
  • Save chriseppstein/3955282 to your computer and use it in GitHub Desktop.
Save chriseppstein/3955282 to your computer and use it in GitHub Desktop.
@include handhelds {
table.responsive {
width: 100%;
thead {
display: none;
}
tr {
display: block;
}
td, th {
display: table-row;
&:before {
display: table-cell;
text-align: right;
padding-right: 5px;
content: attr(data-label) ":";
}
}
}
}
@chriseppstein
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment