Pseudo selectors#
style props allow you to specify certain pseudo selectors. This allows you to add adhoc styling for particular interactions.
The available pseudo selectors you can use are:
_hoverfor:hover_activefor:active_hoveractivefor:hover:active_focusfor:focus_visitedfor:visited_disabledfor:disabled
This is a box
Editable example
Group pseudo selectors#
style props allow you to style a child when its parent has a certain pseudo class and has the role="group" attribute.
The available pseudo selectors you can use are:
_groupHoverfor[role=group]:hover &_groupActivefor[role=group]:active &_groupFocusfor[role=group]:focus &_groupVisitedfor[role=group]:visited &_groupDisabledfor[role=group]:disabled &
This is a box, I am visible when my parent is hovered on
Editable example
On this page
