Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
There are some cases where this is a serious issue that can’t be solved through pure CSS. Once container units are finally approved though, that will solve quite a few problematic layout issues in CSS.
There are some cases where this is a serious issue that can’t be solved through pure CSS. Once container units are finally approved though, that will solve quite a few problematic layout issues in CSS.
Aren’t these already supported in all major browsers? Also I agree, but in this case we did not even need a container query, just a media query
edit: https://caniuse.com/css-container-query-units about 85% of users have browser support for container query units
Yes but the support is very recent and hasn’t been fully accepted yet. Therefore, I can’t use it in enterprise. I have to wait for full adoption.