lukasfrydek / hg.css

My little CSS framework for quick building block development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hg.css

My little CSS framework for quick building block development.

It starts with some basic Box-Sizing, Normalize and Clearfix. Love these!

Here are some of the main highlights for each section.

Structure

Simple classes to build wrappers and position text. ```

.full-coverage { top: 0; right: 0; bottom: 0; left: 0; } .centered { max-width: 1080px; margin-left: auto; margin-right: auto; } .middle { margin-left: auto; margin-right: auto; } .hidden, .hide { display: none; }

<h2>Decorative</h2>
This section contains styles for images and borders.

img.circle { border-radius: 100%; } img.border { border: solid 3px #fff; } img.shadow { box-shadow: 0 2px 4px #ccc; } .bg-white-20 { background: rgba(255,255,255,0.2); } .border-vert { border-left: solid 1px #ccc; border-right: solid 1px #ccc; } hr.block { width: 100px; height: 10px; background: #efefef; border: none; margin: 20px auto; }


<h2>Responsive Columns</h2>
This is my take on the grid, no more col-12 type stuff, just simply math thanks to box-sizing. The .col-wrap class causes the responsive wrapping.
40%
60%
```

Padding and Margins

Tons of padding and margin options. All based on 5px, 10px, 20px & 40px increments. Having worked with them for a while the should be in an order that makes for proper overriding and multiple class adding. ```
```

About

My little CSS framework for quick building block development


Languages

Language:CSS 100.0%