Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
  • Loading branch information
jamesnw and jgerigmeyer authored Jul 2, 2024
1 parent e3dc868 commit 6665a55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/blog/2024/anchor-position-polyfill.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,13 @@ element, but with different names.
}
```

This will enable a number of use cases where a target can be anchored on
This will enable a number of use cases where a target can be anchored to
different anchors, depending on what is available. Perhaps some of your pages
have a different layout, where you want `#target-b` to anchor on a
`#side-anchor` if there is one, but otherwise on the default `.anchor`.
have a different layout, where you want `#target-b` to anchor to a
`#side-anchor` if there is one, but otherwise to the default `.anchor`.

```css
.anchor#side-anchor{
.anchor#side-anchor {
anchor-name: --b;
}
```
Expand Down

0 comments on commit 6665a55

Please sign in to comment.