#my-anchor-size {
  anchor-name: --my-anchor;
  width: 10em;
}

#my-target-size {
  position: absolute;
  width: anchor-size(--my-anchor width);
}
