Error codesComponents

CSS anchoring is regular CSS

MARKLESS_CSS_ANCHOR_ATTRIBUTEerrorMarkless raises it while it builds your .tsrx files.

The message

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.

Why

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.

Fix

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.

Where Markless raises it

All error codes

Button sounds are from Josh Comeau's Button Sounds library.