Skip to content

Commit

Permalink
fix: revise information about absolute and fixed (#28226)
Browse files Browse the repository at this point in the history
* fix: revise information about absolute and fixed

* fix: revise wording in the sentence

* fix: I went back to the original sentence.

* Update index.md

* fix: I went back to the original sentence

* link fixes

---------

Co-authored-by: Chris Mills <[email protected]>
  • Loading branch information
CBID2 and chrisdavidmills committed Aug 3, 2023
1 parent 28505c5 commit 4253659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/css/position/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ position: unset;

- `fixed`

- : The element is removed from the normal document flow, and no space is created for the element in the page layout. The element is positioned relative to its initial [containing block](/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block). Its final position is determined by the values of `top`, `right`, `bottom`, and `left`.
- : The element is removed from the normal document flow, and no space is created for the element in the page layout. The element is positioned relative to its initial [containing block](/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block), which is the viewport in the case of visual media. Its final position is determined by the values of `top`, `right`, `bottom`, and `left`.

This value always creates a new [stacking context](/en-US/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context). In printed documents, the element is placed in the same position on _every page_.

Expand Down

0 comments on commit 4253659

Please sign in to comment.