Share this postDoes flex-basis effect on the element with position: absolute?cssisntmagic.substack.comCopy linkFacebookEmailNoteOtherDoes flex-basis effect on the element with position: absolute?Stas MelnikovDec 06, 20231Share this postDoes flex-basis effect on the element with position: absolute?cssisntmagic.substack.comCopy linkFacebookEmailNoteOther1Shareflex-basis stops to work after applying position: absolute or fixed to the element because it is out of flex context. The right answer — 1rem 💡❤ Thank you so much, my sponsors: Tatiana Ten, Mikhail Ilin.
Thanks to this post I discovered flex-basis exists : )
CSS may not be magic (not sure tbh ; ), but it's clearly a vast subject!