dabblet

Log in My profile Log out
New dabblet
Save Save as new Save anonymously
View gist View full page result LeaVerou
?
/**
 * Flexible multiline definition lists with 2 lines of CSS
 */

dt, dd { display: inline; margin: 0; }

dd:after {
	content: '\A';
	white-space: pre;
}
<dl>
	<dt>foo:</dt>
	<dd>Definition of foo</dd>
	<dt>bar:</dt>
	<dd>Definition of bar</dd>
</dl>
(ABCabc123&@%) (ABCabc123&@%)
Loading…