flex-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!
Thanks to this post I discovered flex-basis exists : )
CSS may not be magic (not sure tbh ; ), but it's clearly a vast subject!