Skip to content

Instantly share code, notes, and snippets.

View nfolkman's full-sized avatar

Nathan Folkman nfolkman

View GitHub Profile
@engarifulislam
engarifulislam / Bootstrap 3 Classes List With Description - Bootstrap Cheat Sheet.txt
Last active November 21, 2024 21:30
Bootstrap 3 Classes List With Description - Bootstrap Cheat Sheet ----
Every web developer should know how to properly code a responsive website. Bootstrap 3 is an ultimate
framework that learns you how to think when coding responsive websites and makes their creation much easier and faster.
When I was learning Bootstrap 3, I was looking for a simple list of basic Bootstrap 3 classes with description and there were none - only a few lists for Bootstrap 2, without any description, therefore pretty useless for my intentions.
Basic Bootstrap Classes
.container
sets fixed width to an element (which changes depending on a screen size to other fixed values, so it's still responsive) on all screen sizes except xs - on xs, the width is calculated automatically (this behaviour can be changed)
a fixed width responsive website should be wrapped in .container (or just the content without menu, whatever - it's up to you)