Files
screen-lnsh/src/assets/css/mixin.styl
2023-06-29 10:37:48 +08:00

49 lines
922 B
Stylus

$green = #30EBC9
$yellow = #E2BB0E
$gray = #516282
$gray1 = #8B90A6
$orange = #F96700
$green2 = #65d837
.green
background-color #11ff0d
.yellow
background-color #fdfd0f
.gray
background-color #bfbfbf
.gray1
background-color #d8d1d1
.red
background-color #ff1016
//
_wh(w, h)
width: w
height: h
//
_font(size,height,color=#ffffff,weight=normal,align=center)
font-size: size
line-height: height
color: color
font-weight: weight
text-align: align
//
_bis(url,w=100%,h=100%,x=center,y=center,r=no-repeat)
background-position: x y
background-size: w h
background-image: url(url)
background-repeat: r
//
_shadow(w,c)
filter drop-shadow(w 0 0 c)
//flex
_fj(c=column, x=space-between,y=center)
display: flex
flex-direction: c
justify-content: x
align-items: y