@wellendonner fixed elements are positioned
relative to the viewport (window), not the body.
You need to add your padding around this element again:
#fixed { ... margin: 10px; width: calc(100% - 20px); }
A static archive of Markus Tacker's tweets. Follow me on Mastodon: @[email protected].
@wellendonner fixed elements are positioned
relative to the viewport (window), not the body.
You need to add your padding around this element again:
#fixed { ... margin: 10px; width: calc(100% - 20px); }