Single post in A Somewhat Extensive Guide to BBCodes
Forum Index > PokéFarm > Guides > A Somewhat Extensive Guide to BBCodes >
Actually here's something that I think works better because it works with any number of hideboxes. Only downside is you have to wrap every hide in its own sc.
[sc=flexhide][sc][hide=Hide One]Text One[/hide][/sc][sc][hide=Hide Two]Text Two[/hide][/sc][sc][hide=Hide Three]Text Three[/hide][/sc][sc][hide=Hide Four]Text Four[/hide][/sc][/sc]
[style]
.flexhide {
display: flex;
flex-wrap: wrap;
}
.flexhide > div {
flex: 1 0 auto;
}
[/style]
Hide One
Text One
Hide Two
Text Two
Hide Three
Text Three
Hide Four
Text Four
Avatar by Kaelwolfur.
Sent from my PokéNav