Skip to content

👌Smidge is margin & padding classes ✨by Jeff Davis

License

Notifications You must be signed in to change notification settings

brandedux/smidge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Smidge

Simply download it and import it from your CSS library.

Getting started

Download or clone the code.
git clone https://github.com/brandedux/smidge.git

Import Smidge:
Import smidge.scss into your app.scss or primary file.
@import './smidge';

Example Class:
Include the classes in your markup.
class="m-h-base"

1. Classificaiton for margin and padding

  • m = margin
  • p = padding

2. Side of box model including horizontal and vertical

  • h = horizontal
  • v = vertical
  • t = top
  • b = bottom
  • l = left
  • r = right

3. Size Suffixes

  • smaller
  • small
  • base
  • big
  • bigger

Copyright and License

Copyright (c) 2019, Jeff Davis.

Smidge source code is licensed under the MIT License.