本文へ移動

リファレンス

TEXT

属性名 用途
.text-xs極小文字12px
.text-2sm小文字13px
.text-sm小文字14px
.text-base基本文字16px
.text-lg大文字18px
.text-xl見出し文字20px
.text-2xl大見出し24px
.text-3xl特大見出し30px
.text-4xlメイン見出し36px
.text-5xl大型タイトル48px
.font-normal通常ウェイト400
.font-medium中ウェイト500
.font-semibold太字600
.font-bold強調太字700
.text-left左揃えtext-align:left
.text-center中央揃えtext-align:center
.text-right右揃えtext-align:right

COLOR

テキスト
属性名 用途
.attention注意色$caution
.key-colorメインカラー$key
.sub-colorサブカラー$sub
背景
属性名 用途
.bg-keyメイン$color-key
.bg-subサブ$color-sub
.bg-pointポイント$color-point
.bg-color$color-bg
.bg-hiligh強調$color-highlight
.bg-activeアクティブ$color-active
.bg-black$color-black
.bg-text文字$color-text
.bg-gray-dark濃グレー$color-gray-dark
.bg-grayグレー$color-gray
.bg-gray-bright薄グレー$color-gray-bright
.bg-white$color-white
.bg-btnボタン$color-button
.bg-btn-dark濃ボタン$color-button-dark
.bg-btn-bright明ボタン$color-button-bright
.bg-linkリンク$color-link
.bg-link-hoverリンクhover$color-link-hover
.bg-caution警告$color-caution
.bg-caution-hiligh警告強調caution-highlight
.bg-element-dark要素element-dark
下線
属性名 用途
.underlineグレー$color-gray
.underline-darkダークグレー$color-gray-dark

FLOAT

属性名 用途
.float-left左寄せfloat:left
.float-right右寄せfloat:right
.float-nonefloat解除float:none
.f-center中央配置margin:auto
.cfclearfixclear float

WIDTH

属性名 用途
.w-auto自動幅auto
.w-1-250%49%
.w-1-333%32%
.w-2-366%66.666667%
.w-1-425%25%
.w-2-450%50%
.w-3-475%75%
.w-full100%100%
.w-1515%15%
.base-wide基準幅$baseWidth

MARGIN

属性名 用途
.m-0解除0
.mb-2下:最小8px
.mb-312px
.mb-4下:小16px
.mb-8下:基準32px
.mb-12下:大48px
.mb-16下:最大64px
.ml-2左:最小8px
.ml-4左:小16px
.ml-8左:基準32px
.ml-16左:最大64px
.m-auto中央配置auto
.mb-autoauto
.ml-autoauto
.my-auto上下auto
.mx-auto左右auto

PADDING

属性名 用途
.p-0padding解除0
.p-2padding8px
.p-4padding16px
.pb-2下padding8px
.pb-4下padding16px
.pb-8下padding32px
.pl-0左padding解除0
.pl-2左padding8px
.pl-4左padding16px
.pl-8左padding32px
.pt-8上padding32px
.px-0左右padding解除0
.px-2左右padding8px
.px-4左右padding16px
.py-0上下padding解除0
.py-2上下padding8px
.py-4上下padding16px

DISPLAY

属性名 用途
.d-blockblock化display:block
.inline-blockinline-block化display:inline-block
.inlineinline化display:inline
.d-none非表示display:none
.pc-d-nonePC非表示display:none
.tb-d-noneTablet非表示display:none
.sp-d-noneSP非表示display:none
.tb-d-blockTablet block表示display:block
.sp-d-blockSP block表示display:block
.tb-d-inlineblockTablet inline-block表示display:inline-block
.sp-d-inlineblockSP inline-block表示display:inline-block
.radius角丸border-radius