flamingos-cant (hopepunk arc)@feddit.uk to Programmer Humor@programming.devEnglish · 21 hours agoBeastlyfeddit.ukimagemessage-square87fedilinkarrow-up1836arrow-down135
arrow-up1801arrow-down1imageBeastlyfeddit.ukflamingos-cant (hopepunk arc)@feddit.uk to Programmer Humor@programming.devEnglish · 21 hours agomessage-square87fedilink
minus-squareundefinedTruth@lemmy.ziplinkfedilinkarrow-up8·10 hours agoAh, I remember the days when they used to be using PNGs for those.
minus-squareArseAssassin@sopuli.xyzlinkfedilinkarrow-up6·10 hours agoAh, and I remember doing it. I wish I didn’t.
minus-squareSpatchyIsOnline@lemmy.worldlinkfedilinkarrow-up29·15 hours agodisplay: grid for a single element feels kinda cursed to me
minus-squareorca@orcas.enjoying.yachtslinkfedilinkarrow-up8·14 hours agoIt definitely is lol. You’d use this for a landing page content container or something.
minus-square𝕱𝖎𝖗𝖊𝖜𝖎𝖙𝖈𝖍@lemmy.worldlinkfedilinkarrow-up5·12 hours agoJust throw it in a flexbox with margin: auto
flex gang where
I use flex for most stuff 💪🏼
Now make it work on IE6.
After adding rounded corners.
Ah, I remember the days when they used to be using PNGs for those.
PNGs!? Oh sweet summer child…
Ah, and I remember doing it.
I wish I didn’t.
display: gridfor a single element feels kinda cursed to meIt definitely is lol. You’d use this for a landing page content container or something.
Just throw it in a flexbox with
margin: auto