Created
November 15, 2024 21:31
-
-
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
This file contains hidden or 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
@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