Created
April 5, 2012 16:48
-
-
Save mattintosh4/2312467 to your computer and use it in GitHub Desktop.
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
dt + dt{ | |
margin:-1em 0 1em; | |
} |
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
p{ | |
margin:1em 0; | |
} | |
dl{ | |
margin:1em 0; | |
} | |
dt{ | |
margin:1em 0; | |
} | |
dd{ | |
margin:-1em 0 1em 40px; | |
} |
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> | |
<dt>list title 1</dt> | |
<dd> | |
<p>list description 1 paragraph 1</p> | |
<p>list description 1 paragraph 2</p> | |
</dd> | |
<dt>list title 2</dt> | |
<dd> | |
<p>list description 2 paragraph 1</p> | |
</dd> | |
<dt>list title 3</dt> | |
<dd> | |
list description 3 (no paragraph) | |
</dd> | |
<dt>list title 4</dt> | |
<dd> | |
list description 4 (no paragraph) | |
</dd> | |
</dl> |
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,dt,dd{ | |
margin:1em 0 | |
} | |
dt + dt,dd{ | |
margin-top:-1em | |
} | |
dd{ | |
margin-left:40px | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment