Loading...

Top
PFQ Banner

This is PokéFarm Q, a free online Pokémon collectables game.

Already a user? New to PFQ?

Single post in A Somewhat Extensive Guide to BBCodes

Forum Index > PokéFarm > Guides > A Somewhat Extensive Guide to BBCodes >

DrWho's AvatarDrWho
DrWho's Avatar
No question is stupid ♥
[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
[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]
Avatar by Kaelwolfur. Sent from my PokéNav
© PokéFarm 2009-2024 (Full details)Contact | Rules | Privacy | Reviews 4.6★Get shortlink for this page