DEV Community

Discussion on: Inherit the width of the parent element when `position: fixed` is applied

Collapse
whyboris profile image
Boris

Looks like position fixed can ihnerit the width of the container if the container inherits its container: stackoverflow.com/a/5874318/5017391