Post

It would be good to make a short video about the <custom-ident> case that will confuse many people, thinking they are <string> instead. bsky.app/profile/css-...

CSS by T. Afif@css-only.dev

It seems you had the confusion I see a lot. Keyword values are not "string" but "custom-ident" so you can use the value auto (as well as other keyword) like below: [mx] { margin-inline: attr(mx type(<custom-ident>)); } codepen.io/t_afif/pen/p...

0 reposts4 likes

No replies yet.