Skip to content

Instantly share code, notes, and snippets.

@jas8522
Created November 15, 2024 21:31
Show Gist options
  • Save jas8522/f6cfea900aee3ffa617f01088178ad9c to your computer and use it in GitHub Desktop.
Save jas8522/f6cfea900aee3ffa617f01088178ad9c to your computer and use it in GitHub Desktop.
CSS to split various type of BB module content into columns without multiple modules
@media screen and (min-width: 995px){
/* PowerPack Info List */
.grid-3 .pp-list-items{
display: grid !important;
grid-template-columns: auto auto auto;
}
/* PowerPack Accordion */
.grid-2 .pp-accordion{
column-count: 2;
column-gap: 30px;
}
.grid-2 .pp-accordion > *{
break-inside: avoid-column;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment