hmbf9a
Last Updated: February 25, 2016
·
221
· mkdizajn

Stupid fast inline frontend helpers (padding, margin)

Stupid fast inline frontend helpers

  • include it: somewhere in your head
<link rel="stylesheet" type="text/css" href="//git.io/AAWO">
  • and to add margin/padding to some element, you just append one or multiple classes to it. See picture lower.

explan

  • meaning of abbreviation

    • mt, mr, mb, ml == margin (top, right, bottom, left)
    • pt, pr, pb, pl == padding (top, right, bottom, left)

Padding and margin that is predefined is in this range:

- 5, 10, 15, 20 and 30 px

You can contrib to repo here:

https://github.com/mkdizajn/massive-octo-bugfixes

cheers, k