Last active
December 16, 2015 19:08
-
-
Save komplexb/5482503 to your computer and use it in GitHub Desktop.
a data list for label:value pairs
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
dl.pairValue { | |
display: block; | |
margin: 0; | |
vertical-align: top; | |
} | |
/* optional if you add clearfix to the dl | |
dl.pairValue:after { | |
clear: both; | |
content: "."; | |
display: block; | |
height: 0; | |
visibility: hidden; | |
} | |
*/ | |
dl.pairValue dt:after { | |
content: ": "; | |
} | |
dl.pairValue dt { | |
clear: left; | |
float: left; | |
width: 100px; | |
} | |
dl.pairValue dd { | |
float: left; | |
} |
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
<dl class="pairValue"> | |
<dt>label</dt> | |
<dd>description</dd> | |
</dl> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment