width
Use atomic props to control the width of an element. width is a property used frequently, so we use abbreviations.
Atomic Props | CSS Properties |
---|---|
w-{value} / w={value} | width: {value}; |
#
Fixed widthUse w-{size}
Atomic Props to control the width of an element.
SyntaxError: Unexpected token (1:8) 1 : return () ^
LIVE DEMO
#
Fluid WidthSyntaxError: Unexpected token (1:8) 1 : return () ^
LIVE DEMO