Skip to content

Instantly share code, notes, and snippets.

@fiatjaf
Created August 29, 2017 01:30
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 fiatjaf/d315081ce7052cafeaa2e0b68bd21db7 to your computer and use it in GitHub Desktop.
Save fiatjaf/d315081ce7052cafeaa2e0b68bd21db7 to your computer and use it in GitHub Desktop.
basic CSS for useful description lists
dt {
font-weight: bold;
float: left;
min-width: 200px;
text-align: right;
}
dt:after {
content: ':';
margin-right: 10px;
}
dd {
clear: right;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment