This module is web frontend sass library
- sass modules
- utility class(margin align text mediaqueries)
- $use_html5 true(default) or false
- $reset_type "reset"(default) or "normalize"
- $content-width: 1000px
- $desktop-width: $content-width
- $gutter-width: 20px
- $sp-width: 640px
- $tablet-inner-margin: 10px
- $sp-inner-margin: 10px
- $baseFontSizeNum: 16
- $baseFontSize: $baseFontSizeNum + px
- $baseFontFamily: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif
- $bodyBgColor: #fff
- $baseFontColor: #000
- $linkColor: $baseFontColor
- $linkColor-hover: $baseFontColor
- $baseColor1: #663300
- $baseColor2: lighten($baseColor1, 10%)
- $mainColor1: #1983f0
- $mainColor2: lighten($mainColor1, 10%)
- $subColor1: #1983f0
- $subColor2: lighten($subColor1, 10%)
$white : #fff $black : #000
$lightRed: #ff6d72 $red: #ff3135 $darkRed: #AB2520
$lightGreen: #f0ffcf $green: #8fc31f $darkGreen: #5b8a10
$lightBlue: #eef2f8 $blue: #2253b4 $darkBlue: #4e6c8c
$lightOrange: #ffc400 $orange: #ffc400 $darkOrange: #ff7200
$lightPink: #ffacd1 $pink: #ff4a9b $darkPink: #be5254
$lightPurple: #7347b6 $purple: #7347b6 $darkPurple: #4e6c8c
$lightYellow: #f4e28e $yellow: #fad704 $darkYellow: #faca6e
$lightGray: #a2a2a2 $gray: #999 $darkGray: #565656
$lightBrown: #59380b $brown: #38210e $darkBrown: #2c1d06
$lightOcher: #dbb542 $ocher: #dbb542 $darkOcher: #9a8032
and more support browser flag($support-ie6, $support-ie7, $support-ie8, etc...)
- u-align--left
- u-align--center
- u-align--right
- u-align--vertical-middle
- u-align--vertical-base
- u-only--pc
- u-only--sp
- u-not--pc
- u-not--sp
- u-inner--tablet
- margin left & right $tablet-inner-margin
- u-inner--sp
- margin left & right $sp-inner-margin
- u-mgt--(0 ~ 100 step 5)
- u-mgb--(0 ~ 100 step 5)
- u-mgy--(0 ~ 100 step 5)
- u-mgl--(0 ~ 100 step 5)
- u-mgr--(0 ~ 100 step 5)
- u-mgx--(0 ~ 100 step 5)
- u-txt--strong
- u-txt--small
npm install --save-dev standby.css
# css/style.sass
@import "../node_modules/standby.css/sass/standby"
- =break($width)
- =tablet
- =smartphone
- =clrfx
- =absorb
- =row
- =col($num)
- =twoCol
- =twoColFixed
- =twoColFixedRight
- =twoColFluid
- =inner-block
- =table-cell($num)
- =opacity($num)
- =rem($fontSize)
- =linkListArrow($size: 10px, $right: 10px, $border-size: 2px, $color: #333)
- =replaceImg($url, $width, $height, $sp: 0)
- =replaceImgHover($url, $width, $height, $sp: 0)