You should use Skeleton if you're feeling like whole UI frameworks like Bootstrap, Foundation, and Pure are overkill for your projects and you just want the basics. Just styling the 80+ standard HTML elements (<button>, <p>, <nav>, …) can get you really far. For what it's worth, this site is built on Skeleton and only requires ~100 lines of additional CSS.
The grid is just a 12-column fluid grid with a max width of 960px (but this can be changed with one line of CSS). The syntax is simple and it makes responsive implementation much, much easier. Go ahead, resize the browser.
Type is all set with the rems
, so font-sizes and spacial relationships are responsively sized based on a single <html>
font-size property. Everything is still base 10 though so, an <h1>
is 5.0rem
, which just means 50px
.
The typography base is 15rem (15px) over a 1.6 line height (24px). Other type basics like anchors, strong, emphasis, and underline are all obviously included.
Headings create a family of distinct sizes each with specific letter-spacing
, line-height
, and margins
.
<h1>
50rem<h2>
42rem<h3>
36rem<h4>
30rem<h5>
24rem<h6>
15remButtons come in two basic flavors in Skeleton. The standard <button>
element is vibrant, whereas the .secondary
button takes a monotone backseat.
Code styling was kept super basic – basically just wrap something in a <code>
tag and it will look just like that code tag just did. For blocks of code just use a <pre>
tag.
.some-class {
background-color: red
}
hrs, images