OttertoProgramming@programming.devEnglish·2 months agoCSS finally adds vertical centering in 2024(build-your-own.org)external-linkarrow-up1334arrow-down14message-square72fedilink
arrow-up1330arrow-down1external-linkCSS finally adds vertical centering in 2024(build-your-own.org)OttertoProgramming@programming.devEnglish·2 months agomessage-square72fedilink
minus-squarebitjunkiearrow-up18arrow-down0·2 months agolinkfedilinkThat’s because under flexbox for horizontal alignment you use a different property called justify-content.
minus-squarerefaloarrow-up4arrow-down2·2 months agolinkfedilinkRight, which isn’t confusing at all /s
minus-squarebitjunkiearrow-up2arrow-down0·2 months agolinkfedilinkThere’s a learning curve but it makes sense once you’ve used it for a bit. I recommend the frog game: https://flexboxfroggy.com/
That’s because under flexbox for horizontal alignment you use a different property called
justify-content
.Right, which isn’t confusing at all /s
There’s a learning curve but it makes sense once you’ve used it for a bit. I recommend the frog game: https://flexboxfroggy.com/