How do I rotate an element by its data-rotate attribute using attr() ? something like:
transform: rotate(attr(data-rotate deg))
How do I rotate an element by its data-rotate attribute using attr() ? something like:
transform: rotate(attr(data-rotate deg))
According to the documentation attr
is experimental for properties other than content.