Skip to content

zsoltjanes/CSS-Framework-for-Margin-and-Padding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I made a CSS framework for Front-End developers. This framework is compressed but don't use it if you want to own a well optimized website.

Usage and Example

You can call margins and paddings right, left, top and bottom with some short code. It's working from -1000 to 1000. When you wanted to use minus parameter you have to write "mlm20" class for make margin-left: -20px. If you want to make margin-left: 20px, than enough if you call "ml20" class.

<div class="ml20"></div>

Shortcode

margin-right code: mr
margin-right minus code: mrm
margin-left code: ml
margin-left minus code: mlm
margin-bottom code: mb
margin-bottom minus code: mbm
margin-top code: mt
margin-top minus code: mtm

padding-right code: pr
padding-right minus code: prm
padding-left code: pl
padding-left minus code: plm
padding-bottom code: pb
padding-bottom minus code: pbm
padding-top code: pt
padding-top minus code: ptm

About

CSS right, left, bottom, top margins with positive and negative pixels

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages