scss-library/components/01_Layouts/sizes/_sizes.styl

49 lines
673 B
Stylus
Raw Normal View History

2021-01-03 12:36:12 +01:00
RV-Sizes--half()
flex-grow 0
flex-shrink 0
flex-basis 50%
width 50%
RV-Sizes--third()
flex-grow 0
flex-shrink 0
flex-basis (100/3)%
width (100/3)%
RV-Sizes--quarter()
flex-grow 0
flex-shrink 0
flex-basis 25%
width 25%
RV-Sizes--fixedSize(width=100px)
flex-grow 0
flex-shrink 0
width min-content
flex-basis width
RV-Sizes--content()
flex-grow 0
flex-shrink 0
width max-content
flex-basis max-content
RV-Sizes(prefix='&')
{prefix}--half
RV-Sizes--half()
{prefix}--third
RV-Sizes--third()
{prefix}--quarter
RV-Sizes--quarter()
{prefix}--fixedSize
RV-Sizes--fixedSize
{prefix}--content
RV-Sizes--content
.RV-Sizes
RV-Sizes()