Last Updated: February 25, 2016
· mkdizajn
Kreso 300x300

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="//">
  • and to add margin/padding to some element, you just append one or multiple classes to it. See picture lower.


  • 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:

cheers, k

Say Thanks