Skip to content

Commit

Permalink
functions page
Browse files Browse the repository at this point in the history
  • Loading branch information
estelle committed Jun 24, 2024
1 parent 5b244bc commit 7c3bf8c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions files/en-us/web/css/css_functions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,16 +333,14 @@ The following functions are used as a value of different `animation-timeline` pr

## Anchor positioning functions

The anchor positioning functions are used when positioning and sizing **anchor-positioned elements** relative to the location and size of their associated **anchor elements**.
The anchor positioning functions are used when positioning and sizing anchor-positioned elements relative to the location and size of their associated anchor elements.

- {{cssxref("anchor", "anchor()")}}
- : Returns a length relative to the position of the edges of an anchor-positioned element's associated anchor element.
- {{cssxref("anchor-size", "anchor-size()")}}
- : Returns a length relative to the size dimensions of an anchor-positioned element's associated anchor element.
- : Returns a length relative to the size of the associated anchor element.
- {{cssxref("inset-area_function", "inset-area()")}}
- : Returns a custom position try option based on the {{cssxref("inset-area")}} property value passed as a parameter.

Each linked page details the function's syntax. For an introduction to [CSS anchor positioning](/en-US/docs/Web/CSS/CSS_anchor_positioning), see [Using CSS anchor positioning](/en-US/docs/Web/CSS/CSS_anchor_positioning/Using) and [Handling overflow: try options and conditional hiding](/en-US/docs/Web/CSS/CSS_anchor_positioning/Try_options_hiding) guides.
- : Defines the anchor element side of a position try option.

## See also

Expand Down

0 comments on commit 7c3bf8c

Please sign in to comment.