Skip to content

Instantly share code, notes, and snippets.

@dustinleer
Created March 25, 2022 13:34
Embed
What would you like to do?
Columns css equality
ul.columns {
column-count: 2;
column-gap: 20px;
}
ul.columns li {
font-size: 16px;
line-height: 2;
/* This will keep the li from breaking on to new lines */
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
-moz-column-break-inside: avoid;
break-inside: avoid;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment