You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see there is a fallback value in the second rule.
But It has not any effect:
if the attr style has --cur defined It will show --cur
otherwise the rule does not match and var(--cursor) is not used
Thanks
The text was updated successfully, but these errors were encountered:
Hi, I don't understand when the 2nd rule would be useful
in case we define --cur and we hover this element we will see the defined cursor
AFIK defined cursor is only shown while we hover the element.
What is the reason for defining cursor property for :hover?
[style*="--cur:"] {
cursor: var(--cur) !important;
}
[style*="--cur:"]:hover {
cursor: var(--cur, var(--cursor));
}
I see there is a fallback value in the second rule.
But It has not any effect:
if the attr style has --cur defined It will show --cur
otherwise the rule does not match and var(--cursor) is not used
Thanks
The text was updated successfully, but these errors were encountered: