Skip to content

Add support for string-set attr function

Fred Chasen requested to merge string-set-attr into main

Adds support for using the attr function of string-set to use attribute text such as:"

h1 {
  string-set: alphabet attr(data-to-set);
}
<h1 data-to-set="Chapter A">aaa</h1>

Also adds support for multiple string-set methods separated by commas.

Merge request reports