amgdev
amgdev
KPCKevin Powell - Community
Created by amgdev on 7/14/2023 in #front-end
css container property blocks position absolute element from positioning correctly
Exactly my point! In my opinion, this makes container a bit dangerous to use. Because you never know what you'll need to add in the future & you may find yourself in a situation where you need to remove the container & restructure your entire container element with all elements relying on it, when you find yourself in a situation where you need a fixed or absolute element to overflow the container. It looks more like a CSS that should be fixed or they should create a way around it.
8 replies
KPCKevin Powell - Community
Created by amgdev on 7/14/2023 in #front-end
css container property blocks position absolute element from positioning correctly
with the position fixed, there is no difference. I made a little codepen if you would like to play around https://codepen.io/amgalitzky/pen/NWEyEjz
8 replies