I am working on HTML description list to show dd and dt something like this.
But it is showing up something like below splitting the dt which is not desired behvaiour;
I am using following CSS.
.wrapper dl {
margin: 0 -10px;
padding: 0;
column-count: 2;
}
.wrapper dt {
vertical-align: top;
width: calc(33.333333% - 20px);
margin: 0 10px 20px 10px;
background: lightgrey;
}
<div class="wrapper">
<dl>
<dd>One</dd>
<dt>We can use CSS Grid to overwrite older methods.</dt>
<dd>Two</dd>
<dt>We can use CSS Grid to overwrite older methods.</dt>
<dd>Three</dd>
<dt>We can use CSS Grid to overwrite older methods.</dt>
<dd>Four</dd>
<dt>We can use CSS Grid to overwrite older methodsssdfsdf sdfsdf sdf sdfsdfsdsdf.</dt>
<dd>Five</dd>
<dt>We can use CSS Grid to overwrite older methods.</dt>
<dd>Six</dd>
<dt>We can use CSS Grid to overwrite older methods.</dt>
<dd>Seven</dd>
<dt>We can use CSS Grid to overwrite older methods.</dt>
</ul>
</div>
What changes I need to do ?