Single post in A Somewhat Extensive Guide to BBCodes
Forum Index > PokéFarm > Guides > A Somewhat Extensive Guide to BBCodes >
No question is stupid ♥
The number in orange is the number of hideboxes you want to display in one line.
I'm sorry if the second answer is a bit ugly. Normally flexbox deals with problems like this, but I don't understand why it does this to panels (see below)[sc=flexhide][hide=Hide One]Text One[/hide][hide=Hide Two]Text Two[/hide][/sc]
[style]
.flexhide {
display: flex;
}
.flexhide .panel {
flex: 1 0 auto;
}
[/style]
[style]
.accordion {
width: 50%;
}
[/style]
Hide Box
Make me smaller!
Display Box
Leave me alone!
The number in orange is the number of hideboxes you want to display in one line.
[sc=sidebyside][hide=Hide One]Text One[/hide][hide=Hide Two]Text Two[/hide][/sc]
[style]
.sidebyside .panel{
float: left;
width: calc(100/2%-1px);
}
[/style]
Hide One
Text One
Hide Two
Text Two
I'm sorry if the second answer is a bit ugly. Normally flexbox deals with problems like this, but I don't understand why it does this to panels (see below)
Hide One
Text One
Hide Two
Text Two
Avatar by Kaelwolfur.
Sent from my PokéNav