Styling
Box
can also be styled directly with Styled-Components via the prop styles
. This is e.g. handy for applying pseudo-elements
and hover
.
#
Style by BreakpointThe current breakpoint is reflected in two classes of the Box
-component.
One is named based on index
The other is named based on pixel