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.
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.