Cards

Hello World

And the the card says hello.

Hello World

And the the card says hello.

A note at the bottom.

Hello World

And the the card says hello.

A note at the bottom.

Headings

H1 Heading

H2 Heading

H3 Heading

H4 Heading

H5 Heading
H6 Heading
				
<h1>Headings</h1>
<h1>H1 Heading</h1>
<h2>H2 Heading</h2>
<h3>H3 Heading</h3>
<h4>H4 Heading</h4>
<h5>H5 Heading</h5>
<h6>H6 Heading</h6>
				
			

Paragraph styles

This is an average paragraph. It includes some inline elements such as <strong> and <em>.

				
<p>This is an <strong>average</strong> paragraph. It includes some <em>inline</em> elements such as <strong> and <em>.</p>
				
			

Buttons

This is your average button. You might want to click it.

				
<button>Submit</button>
				
			

This button has consequences. You might want to think twice before clicking.

Custimize buttons by adding CSS variables inline or with a class.

				
<button 
	style="--weight: bold; 
	--background-color: #f85353;"
>Delete</button>

<button 
	style="--background-color: #6bc253;"
>Go!</button>
				
			

Links

This paragraph contains a couple links to show off their styles in context.

Forms and controls

Click Switch no JS

Colors

--color-background
--color-foreground
--color-dark
--color-light
--color-md-light
--color-md-dark
--color-primary
--color-info
--color-success
--color-danger
--color-callout
--color-lightest

Page Footer

Components

Frmwrk CSS also includes some slideshow components. To use these include the JS files at the bottom of the body and use the markup as shown.


... code sample needed ...
				

Full Color Palette

SASS to CSS Custom Properties

This example uses SASS to generate a range of colors defined as CSS Custom Properties. See: lesson-06-example-2.scss

Define some colors

Look at the dictionary of colors at the top of lesson-06-example-2.scss. These are the base colors. shown here.

Shade and tints

Here are all of the colors define. Starting with the base color I lightened then darkened the colors to generate 4 lighter and 4 darker colors. I used SASS to do this work and had SASS output new Custom Property definitions.