The grid is a 12-column fluid grid with a max width of 960px, that shrinks with the browser/device at smaller sizes. It's using flexbox so cells can take remaining space with the .grow css class. The syntax is simple and it makes coding responsive much easier. Go ahead, resize the browser.
One
Eleven
Two
Ten
Four
Eight
Six
Six
Seven
Five
Nine
Three
20%
20%
20%
20%
20%
Grow, it will takes available space
Action
Row or colum display is made using css class and controlling allinment and justified content with css class names.
.no-wrap control the flow and avoid to wrap to new lines when it should normally wrapTop
Alligned
Middle
Alligned
Bottom
Alligned
Stretch
Alligned
Left
Alligned
Center
Alligned
Right
Alligned
Stretch
Alligned
Top
Justified
Middle
Justified
Bottom
Justified
Between
Justified
Left
Justified
Center
Justified
Right
Justified
Between
Justified
Type is all set with ems, so font-sizes and spacial relationships can be responsively sized based on a container font-size. Out of the box, it will inherit font-size from <html>. All measurements are still base 10 though so, an <h1> with 5.0emfont-size just means 50px.
The typography base is Raleway served by Google, set at 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 spacings.
Bolded Italicized Colored Underlined
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
Lorem ipsum dolor sit amet...
Lorem ipsum...
Forms are a huge pain, but hopefully these styles make it a bit easier. All inputs, select, and buttons are normalized for a common height cross-browser so inputs can be stacked or placed alongside each other.
Code styling is kept basic – just wrap anything in a <code> and it will appear like this. For blocks of code, wrap a <code> with a <pre>.
.some-class {
background-color: red;
}
Be sure to use properly formed table markup with <thead> and <tbody> when building a table.
| Name | Age | Gender | Location |
|---|---|---|---|
| Dave Gamache | 26 | Male | San Francisco |
| Scarlett Johansson | 36 | Female | New York City |
Skull uses media queries to serve its scalable grid, but also has a list of queries for convenience of styling your site across devices. The queries are mobile-first, meaning they target min-width. Mobile-first queries are how Skull's grid is built and is the preferrable method of organizing CSS. It means all styles outside of a query apply to all devices, then larger devices are targeted for enhancement. This prevents small devices from having to parse tons of unused CSS. The sizes for the queries are:
/* Mobile first queries */
/* Larger than mobile */
@media (min-width: 400px) {}
/* Larger than phablet */
@media (min-width: 550px) {}
/* Larger than tablet */
@media (min-width: 750px) {}
/* Larger than desktop */
@media (min-width: 1000px) {}
/* Larger than Desktop HD */
@media (min-width: 1200px) {}
Skull has a number of small utility classes that act as easy-to-use helpers. Sometimes it's better to use a utility class than create a whole new class just to float an element.
Yeah... It's not done yet... Sorry