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
CSS variables are one great way to style and animate split text, but it is difficult to use selectors like :nth-child because the plugin always splits words even when I use data-splitting="chars" and additionally the obnoxious whitespace nodes are inserted.
Adding a data attribute would allow to overcome this, e.g. instead of just this:
CSS variables are one great way to style and animate split text, but it is difficult to use selectors like
:nth-child
because the plugin always splits words even when I usedata-splitting="chars"
and additionally the obnoxious whitespace nodes are inserted.Adding a data attribute would allow to overcome this, e.g. instead of just this:
we would have this
This would allow for rules like below:
The text was updated successfully, but these errors were encountered: