Skip to content

Instantly share code, notes, and snippets.

View guyroutledge's full-sized avatar

guyroutledge

  • UK
View GitHub Profile
@guyroutledge
guyroutledge / gist:436cbfd09452d468525f
Last active August 29, 2015 14:11
CSS Layout class notes

Float Notes

Float allows us to create multi-column layouts.

We can create a two column layout by floating one container to the left and one to the right.

.main-content { float:left; width:66.67%; }
.sidebar { float:right; width:33.33%; }