Shrthnd.css

shrthnd.css is a lightweight (~8kb gzipped) utility css library for rapid site building.

Download from github

prefixsize
all screen sizes
l_max-width: 95em (1480px)
t_max-width: 82.5em (1320px)
tp_max-width: 62.5em (1000px)
m_max-width: 45em (720px)
mp_max-width: 25em (400px)

use like .m_jc-sp for justify-content: space-between on mobile (screen width less then 45em)

classpropertyvalue
.ac-calign-contentcenter
.ac-fealign-contentflex-end
.ac-fsalign-contentflex-start
.ac-salign-contentstretch
.ac-saalign-contentspace-around
.ac-sbalign-contentspace-between
.ai-balign-itemsbaseline
.ai-calign-itemscenter
.ai-fealign-itemsflex-end
.ai-fsalign-itemsflex-start
.ai-salign-itemsstretch
.as-balign-selfbaseline
.as-calign-selfcenter
.as-fealign-selfflex-end
.as-fsalign-selfflex-start
.as-salign-selfstretch
.ba-fbackground-attachmentfixed
.ba-sbackground-attachmentscroll
.bpx-cbackground-position-xcenter
.bpx-lbackground-position-xleft
.bpx-rbackground-position-xright
.bpy-cbackground-position-ycenter
.bpy-tbackground-position-ytop
.bpy-bbackground-position-ybottom
.br-nrbackground-repeatno-repeat
.br-rbackground-repeatrepeat
.br-rxbackground-repeatrepeat-x
.br-rybackground-repeatrepeat-y
.bs-abackground-sizeauto
.bs-cvrbackground-sizecover
.bs-cntbackground-sizecontain
.bs-bbbox-sizingborder-box
.bs-cbbox-sizingcontent-box
.c-bclearboth
.d-bdisplayblock
.d-fdisplayflex
.d-idisplayinline
.d-ibdisplayinline-block
.d-ifdisplayinline-flex
.d-ndisplaynone
.f-lfloatleft
.f-rfloatright
.f-nfloatnone
.fd-cflex-directioncolumn
.fd-crflex-directioncolumn-reverse
.fd-rflex-directionrow
.fd-rrflex-directionrow-reverse
.fs-12font-size0.75rem
.fs-14font-size0.875rem
.fs-16font-size1rem
.fs-18font-size1.125rem
.fs-20font-size1.25rem
.fs-22font-size1.375rem
.fs-24font-size1.5rem
.fs-26font-size1.625rem
.fs-28font-size1.75rem
.fs-30font-size1.875rem
.fs-32font-size2rem
.fs-34font-size2.125rem
.fs-36font-size2.25rem
.fs-38font-size2.375rem
.fs-40font-size2.5rem
.fs-42font-size2.625rem
.fs-44font-size2.75rem
.fs-46font-size2.875rem
.fs-48font-size3rem
.fs-50font-size3.125rem
.fs-52font-size3.25rem
.fs-54font-size3.375rem
.fs-56font-size3.5rem
.fs-58font-size3.625rem
.fs-60font-size3.75rem
.fs-62font-size3.875rem
.fs-64font-size4rem
.fs-ifont-styleitalic
.fs-nfont-stylenormal
.fw-100font-weight100
.fw-200font-weight200
.fw-300font-weight300
.fw-400font-weight400
.fw-500font-weight500
.fw-600font-weight600
.fw-700font-weight700
.fw-800font-weight800
.fw-900font-weight900
.fw-nflex-wrapnowrap
.fw-wflex-wrapwrap
.fw-wrflex-wrapwrap-reverse
.h-1height1rem
.h-2height2rem
.h-3height3rem
.h-4height4rem
.h-5height5rem
.h-6height6rem
.h-7height7rem
.h-8height8rem
.h-9height9rem
.h-10height10rem
.h-11height11rem
.h-12height12rem
.h-13height13rem
.h-14height14rem
.h-15height15rem
.h-16height16rem
.h-17height17rem
.h-18height18rem
.h-19height19rem
.h-20height20rem
.h-aheightauto
.jc-cjustify-contentcenter
.jc-fejustify-contentflex-end
.jc-fsjustify-contentflex-start
.jc-sajustify-contentspace-around
.jc-sbjustify-contentspace-between
.lh-10line-height1
.lh-105line-height1.05
.lh-11line-height1.1
.lh-115line-height1.15
.lh-12line-height1.2
.lh-125line-height1.25
.lh-13line-height1.3
.lh-135line-height1.35
.lh-14line-height1.4
.lh-145line-height1.45
.lh-15line-height1.5
.lh-155line-height1.55
.lh-16line-height1.6
.lh-165line-height1.65
.lh-17line-height1.7
.lst-nlist-style-typenone
.lst-clist-style-typecircle
.lst-dlist-style-typedisc
.lst-slist-style-typesquare
.lst-lllist-style-typelower-latin
.lst-lrlist-style-typelower-roman
.lst-1list-style-typedecimal
.m-0margin0
.m-05margin0.5rem
.m-1margin1rem
.m-15margin1.5rem
.m-2margin2rem
.m-25margin2.5rem
.m-3margin3rem
.m-35margin3.5rem
.m-4margin4rem
.m-45margin4.5rem
.m-5margin5rem
.m-amarginauto
.m-b-0margin-bottom0
.m-b-05margin-bottom0.5rem
.m-b-1margin-bottom1rem
.m-b-15margin-bottom1.5rem
.m-b-2margin-bottom2rem
.m-b-25margin-bottom2.5rem
.m-b-3margin-bottom3rem
.m-b-35margin-bottom3.5rem
.m-b-4margin-bottom4rem
.m-b-45margin-bottom4.5rem
.m-b-5margin-bottom5rem
.m-b-amargin-bottomauto
.m-l-0margin-left0
.m-l-05margin-left0.5rem
.m-l-1margin-left1rem
.m-l-15margin-left1.5rem
.m-l-2margin-left2rem
.m-l-25margin-left2.5rem
.m-l-3margin-left3rem
.m-l-35margin-left3.5rem
.m-l-4margin-left4rem
.m-l-45margin-left4.5rem
.m-l-5margin-left5rem
.m-l-amargin-leftauto
classpropertyvalue
.m-r-0margin-right0
.m-r-05margin-right0.5rem
.m-r-1margin-right1rem
.m-r-15margin-right1.5rem
.m-r-2margin-right2rem
.m-r-25margin-right2.5rem
.m-r-3margin-right3rem
.m-r-35margin-right3.5rem
.m-r-4margin-right4rem
.m-r-45margin-right4.5rem
.m-r-5margin-right5rem
.m-r-amargin-rightauto
.m-t-0margin-top0
.m-t-05margin-top0.5rem
.m-t-1margin-top1rem
.m-t-15margin-top1.5rem
.m-t-2margin-top2rem
.m-t-25margin-top2.5rem
.m-t-3margin-top3rem
.m-t-35margin-top3.5rem
.m-t-4margin-top4rem
.m-t-45margin-top4.5rem
.m-t-5margin-top5rem
.m-t-amargin-topauto
.mw-45max-width45em
.mw-50max-width50em
.mw-55max-width55em
.mw-60max-width60em
.mw-65max-width65em
.mw-70max-width70em
.mw-75max-width75em
.mw-80max-width80em
.mw-85max-width85em
.mw-90max-width90em
.o-0opacity0
.o-01opacity0.1
.o-02opacity0.2
.o-03opacity0.3
.o-04opacity0.4
.o-05opacity0.5
.o-06opacity0.6
.o-07opacity0.7
.o-08opacity0.8
.o-09opacity0.9
.o-1opacity1
.o-aoverflowauto
.o-hoverflowhidden
.o-soverflowscroll
.o-voverflowvisible
.p-0padding0
.p-05padding0.5rem
.p-1padding1rem
.p-15padding1.5rem
.p-2padding2rem
.p-25padding2.5rem
.p-3padding3rem
.p-35padding3.5rem
.p-4padding4rem
.p-45padding4.5rem
.p-5padding5rem
.p-b-0padding-bottom0
.p-b-05padding-bottom0.5rem
.p-b-1padding-bottom1rem
.p-b-15padding-bottom1.5rem
.p-b-2padding-bottom2rem
.p-b-25padding-bottom2.5rem
.p-b-3padding-bottom3rem
.p-b-35padding-bottom3.5rem
.p-b-4padding-bottom4rem
.p-b-45padding-bottom4.5rem
.p-b-5padding-bottom5rem
.p-l-0padding-left0
.p-l-05padding-left0.5rem
.p-l-1padding-left1rem
.p-l-15padding-left1.5rem
.p-l-2padding-left2rem
.p-l-25padding-left2.5rem
.p-l-3padding-left3rem
.p-l-35padding-left3.5rem
.p-l-4padding-left4rem
.p-l-45padding-left4.5rem
.p-l-5padding-left5rem
.p-r-0padding-right0
.p-r-05padding-right0.5rem
.p-r-1padding-right1rem
.p-r-15padding-right1.5rem
.p-r-2padding-right2rem
.p-r-25padding-right2.5rem
.p-r-3padding-right3rem
.p-r-35padding-right3.5rem
.p-r-4padding-right4rem
.p-r-45padding-right4.5rem
.p-r-5padding-right5rem
.p-t-0padding-top0
.p-t-05padding-top0.5rem
.p-t-1padding-top1rem
.p-t-15padding-top1.5rem
.p-t-2padding-top2rem
.p-t-25padding-top2.5rem
.p-t-3padding-top3rem
.p-t-35padding-top3.5rem
.p-t-4padding-top4rem
.p-t-45padding-top4.5rem
.p-t-5padding-top5rem
.p-rpositionrelative
.p-apositionabsolute
.p-spositionstatic
.ta-ctext-aligncenter
.ta-jtext-alignjustify
.ta-ltext-alignleft
.ta-rtext-alignright
.td-ntext-decorationnone
.td-utext-decorationunderline
.tt-ctext-transformcapitalize
.tt-ltext-transformlowercase
.tt-ntext-transformnone
.tt-utext-transformuppercase
.v-hvisibilityhidden
.v-vvisibilityvisible
.va-blvertical-alignbaseline
.va-bvertical-alignbottom
.va-mvertical-alignmiddle
.va-subvertical-alignsub
.va-supvertical-alignsuper
.va-tvertical-aligntop
.w-1-12width8.3333%
.w-1-6width16.6667%
.w-1-5width20%
.w-1-4width25%
.w-1-3width33.3333%
.w-2-5width40%
.w-5-12width41.6667%
.w-1-2width50%
.w-7-12width58.3333%
.w-3-5width60%
.w-2-3width66.6667%
.w-3-4width75%
.w-4-5width80%
.w-5-6width83.3333%
.w-11-12width91.6667%
.w-1-1width100%
.w-1width1rem
.w-2width2rem
.w-3width3rem
.w-4width4rem
.w-5width5rem
.w-6width6rem
.w-7width7rem
.w-8width8rem
.w-9width9rem
.w-10width10rem
.w-11width11rem
.w-12width12rem
.w-13width13rem
.w-14width14rem
.w-15width15rem
.w-16width16rem
.w-17width17rem
.w-18width18rem
.w-19width19rem
.w-20width20rem
.w-awidthauto
.wb-baword-breakbreak-all
.wb-kaword-breakkeep-all
.wb-nword-breaknormal
.ws-nwhite-spacenormal
.ws-nwwhite-spacenowrap
.ws-pwhite-spacepre
.ww-bwword-wrapbreak-word
.ww-nword-wrapnormal