What is the difference between fixed and absolute?

Internet 2021-08-28 16:13:09 1 4,894

The difference between fixed positioning and absolute positioning is that the reference position of fixed positioning is not the upper-level element block but the browser window, and the element with fixed positioning can be separated from the page, that is, no matter how the page is scrolled, the element is always in the same position on the page.


Your opinion

Already have 1 Article answer
  • xiaoma 1楼
    test
    发布于 2021/08/28 16:16