Instant mobile-friendly CSS framework for prototyping.

Usage

Simply include the stylesheet in your HTML files.

<link rel="stylesheet" href="https://unpkg.com/pcss-framework/dist/pcss.min.css" />

Use <main> to create a container with max width of 820px.

Features

Form elements

Fieldset


Code

Below is some code, with a variable, you can copy it with Ctrl-C.

var myNumber = 0;
// This logs a message to the console
console.log('Hello, world!')

Table

Name Quantity Price
Pizza #1 1 $5
Pizza #2 2 $6
Pizza #3 3 $7

Typography

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque dictum hendrerit velit, quis ullamcorper sem congue ac. Quisque id magna rhoncus, sodales massa vel, vestibulum elit. Duis ornare accumsan egestas. Proin maximus lacus interdum leo molestie convallis. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Ut iaculis risus eu felis feugiat, eu mollis neque elementum. Donec interdum, nisl id dignissim iaculis, felis dui aliquet dui, non fermentum velit lectus ac quam. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

This is strong, this is normal, this is just bold, and this is emphasized! And this is a link.

'The HTML blockquote Element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes for how to change it). A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> cite element.'
MDN, 'The Block Quotation element'
Quotes (<q>) share the same style as blockquotes.

Use <mark> to highlight the important stuff.

  1. Ordered list item 1
  2. Ordered list item 2
  3. Ordered list item 3

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

The details and summary tag

Click to Open...

The HTML Details Element (details) creates a disclosure widget in which information is visible only when the widget is toggled into an "open" state. A summary or label can be provided using the summary element.

Click to Hide...

The HTML Details Element (details) creates a disclosure widget in which information is visible only when the widget is toggled into an "open" state. A summary or label can be provided using the summary element.