Comment by Lvl999Noob

Comment by Lvl999Noob 6 months ago

1 reply

In addition to `position: fixed`, shouldn't it be top, left, height, width, instead of top, left, bottom, right? In the second case, it would follow the top and left instructions then take the necessary amount of space, ignoring right and bottom?

nicoburns 6 months ago

For absolutely positioned elements, if you set all four sides then the height and width will be automatically computed.