34 lines
371 B
Stylus
34 lines
371 B
Stylus
RV-Shape--square()
|
|
padding-top 100%
|
|
width 100%
|
|
position relative
|
|
|
|
*
|
|
position absolute
|
|
top 0
|
|
left 0
|
|
bottom 0
|
|
right 0
|
|
|
|
RV-Shape--circle()
|
|
padding-top 100%
|
|
width 100%
|
|
position relative
|
|
|
|
&, *
|
|
border-radius 50%
|
|
|
|
*
|
|
position absolute
|
|
top 0
|
|
left 0
|
|
bottom 0
|
|
right 0
|
|
|
|
.RV-Shape
|
|
|
|
&--square
|
|
RV-Shape--square()
|
|
|
|
&--circle
|
|
RV-Shape--circle() |