Background Color
Atomic props for controlling the background color of an element.
Atomic Props | CSS Properties |
---|---|
bg{colorName} | background-color: {color}; |
bg={color} | background-color: {color}; |
#
Usage preset colorUse bg{colorName}
props to control the background color of an element.
SyntaxError: Unexpected token (1:8) 1 : return () ^
LIVE DEMO
#
Custom colorSet any background color using bg={value}
props.
SyntaxError: Unexpected token (1:8) 1 : return () ^
LIVE DEMO