MARKLESS_CSS_ANCHOR_ATTRIBUTE
CSS anchoring is regular CSS: a Markless compiler error.
Error from the compiler, while it builds your .tsrx files.
What happened
Markless prints the message, the reason, and a suggestion:
MARKLESS_CSS_ANCHOR_ATTRIBUTE: Cannot write <attributeName> as an attribute. CSS anchoring is regular CSS - declare anchor-name/position-anchor in a <style> block or your stylesheet.
An element takes the attributes HTML defines. anchor-name and position-anchor are CSS properties with no HTML attribute of the same name, so nothing on the page would read them.
Declare the anchor in a <style> block in this file, or in your stylesheet, and select the element the way you select it for any other style.
https://markless.dev/errors/MARKLESS_CSS_ANCHOR_ATTRIBUTE
Words in angle brackets change from case to case.
How to fix it
Start with the suggestion in the message above.
This page has no guide yet. Help write it.
Where it comes from
@markless/compiler raises this code. Source:
Read how to read a Markless error, or go back to all error codes.
