Inside CSS

— A sassy skeleton framework —

Inside is a sass based skeleton framework. It aims to set up some basic ground-rules and then get out of the way. That way you can then apply your own styles on top.

Everything is based on mixins so that you can keep your sass light, but you can include all the classes if you need to get something up and running quickly.

Each modules set of classes can also be turned on and off through variables so you don't have to include things that you don't need, keeping everything light and manageable.

Grids

The basic grid uses percentage widths, with classes pre set for: 5%, 10%, 20%, 25%, 30%, 40%, 50%, 60%, 70%, 75%, 80%, 90% and 100%, as well as quarter, half, three-quarters, full, one-third and two-thirds.

However with the use of the mixin you can use any percentage width you like. Columns that exceed a total width of 100% will just flow onto the next line.

Grid classes are now turned off by default to encourage you to use flexbox and css grids.

100%
50%
25%
25%
25%
75%
one third
two thirds

Grid columns can also be reversed by using the `.grid-col-rev` class to make them float right.

.grid-col-rev
.grid-col
.grid-col
.grid-col-rev

Offset columns also use percentages and can be applied to both standard and reverse columns.

col 50% offset 50%
rev col 50% offset 50%

Grid columns can have different sizes for different breakpoints, and all grids gutters are responsive and adjust size depending on break points.

xs: 100%

sm: 80%

md: 60%

lg: 40%

xl: 20%

xs: 100%

sm: 20%

md: 40%

lg: 60%

xl: 80%

You can easily nest grids by including a new `.grid-row` and `.grid-col` set inside any other grid column.

50%
50%
25%
Containers

To work cleanly grids do need to be placed inside a container. Containers are percentage widths and can be changed at any breakpoint. Fluid containers are always 100% of the screens width.

container
container-fluid

Typography

Headings

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
Heading with link
Paragraphs

All type by default, and anything that uses ems & rems for sizes will be effected by the Fluid Type styles. This means that as the screen size increases, so does the font sizes.

Type blocks may also be wrapped with a `.reading-length` class to keep the line length from exceeding an acceptable length—roughly 30–40em's.

Text alignment can be changed at different break points. This text is left aligned as size XS, centre aligned and size MD, and right aligned at size XL.

Block & Pull Quotes

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

Lorem Ipsum is simply dummy text of the printing and typesetting industry

Horizontal Rules

Lists
Default Un-ordered List:
Default Ordered List:
  1. List item
  2. List item link
  3. Nested:
    1. Nested list item
    2. Nested list item link
Un-styled List:
Un-styled & Inline List:
Default Definition List:
Title:
This is a title
Title:
This is a title
Un-styled Definition List:
Title:
This is a title
Title:
This is a title
Un-styled & Inline Definition List:
Title:
This is a title
Title:
Lorem Ipsum is simply dummy text of the print*ing and typesetting industry. *Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Tables

Tables should be used for tabular data, so by default all tables will have basic styles that make them function better.

All tables are responsive and will collapse down into a list-like style on small screen sizes. To include a header for each cell add a title attribute to the td element.

Default:
Table Heading 1 Table Heading 2 Table Heading 3
Table data 1 with a lot more text than the other columns to show some unevenness. Table data 2 Table data 3
Table data 1 Table data 2 Table data 3
Table data 1 Table data 2 Table data 3
Footer cell 1 Footer cell 2
Borders:
Table Heading 1 Table Heading 2 Table Heading 3
Table data 1 Table data 2 with a lot more text than the other columns to show some unevenness. Table data 3
Table data 1 Table data 2 Table data 3
Table data 1 Table data 2 Table data 3
Footer cell 1 Footer cell 2
Table Heading 1 Table Heading 2 Table Heading 3
Table data 1 Table data 2 Table data 3 with a lot more text than the other columns to show some unevenness.
Table data 1 Table data 2 Table data 3
Table data 1 Table data 2 Table data 3
Footer cell 1 Footer cell 2
Table Heading 1 Table Heading 2 Table Heading 3
Table data 1 Table data 2 Table data 3
Table data 1 with a lot more text than the other columns to show some unevenness. Table data 2 Table data 3
Table data 1 Table data 2 Table data 3
Footer cell 1 Footer cell 2
Stripes:
Table Heading 1 Table Heading 2 Table Heading 3
Table data 1 Table data 2 Table data 3
Table data 1 Table data 2 with a lot more text than the other columns to show some unevenness. Table data 3
Table data 1 Table data 2 Table data 3
Footer cell 1 Footer cell 2
Borders & Stripes:
Table Heading 1 Table Heading 2 Table Heading 3
Table data 1 Table data 2 Table data 3
Table data 1 Table data 2 Table data 3 with a lot more text than the other columns to show some unevenness.
Table data 1 Table data 2 Table data 3
Footer cell 1 Footer cell 2

Form Inputs

Legend

Links & Buttons

Standard Links
Unstyled Buttons

Link

Link Button with icon

Default Buttons

Link

Link Button with icon

Primary buttons

Link

Link Button with icon

Contrasting Blocks

Unstyled Buttons

Link

Link Button with icon

Default Buttons

Link

Link Button with icon

Primary buttons

Link

Link Button with icon

Content Blocks

Thumbnails
Default Figure with Figcaption
Product Title

A product description showing some detail. Read More

Product Title

A product description showing some detail. Read More

Product Title

A product description showing some detail. Read More

Product Title

A product description showing some detail. Read More

Embedded Videos
I'm visually hidden!