HTML Patterns

HTML Patterns

HTML Patterns are predefined web page components to help design and create a website. These patterns are building units of a web page, and they structure the content within the HTML document. Patterns can include various types of content such as widgets, forms, tables, charts, buttons and more.


HTML Patterns will automatically adapt to fit the style and design of your website templates, and of course, you can edit them as much as you want.


How To Use HTML Patterns

Click on the tabs in the horizontal menu to select a Free and Open Source HTML Pattern collection.


Freedom To Choose

With Open Creative Cloud HTML Patterns you are free to choose the Free and Open Source HTML Patterns that are best for your project.

Flexbox Grid Layout

The flexible box layout module, usually referred to as flexbox, was designed as a one-dimensional layout model. Flexbox defines layout in one dimension at a time — either as a row or as a column. If you need two-dimensional grids, use CSS Grid Layout, which controls columns and rows together.

When working with flexbox you need to think in terms of two axes — the main axis and the cross axis. The main axis is defined by the flex-direction property, and the cross axis runs perpendicular to it. Everything we do with flexbox refers back to these axes.

The Main Axis

The Main Axis is defined by flex-direction, which has four possible values:

  • row
  • row-reverse
  • column
  • column-reverse


Example: flex-direction: row
A
B
C


Example: flex-direction: column
A
B
C


Multi-line flex containers with flex-wrap

While flexbox is a one dimensional model, it is possible to cause flex items to wrap onto multiple lines. If the flex items are too wide to all display in one line, they will wrap onto another line. Each line will be treated as a new flex container. Any space distribution will happen across that line, without reference to the lines on either side.

Example: flex-wrap: wrap
One
Two
Three


flex-flow shorthand

The properties flex-direction and flex-wrap can be combined into flex-flow shorthand. The first value specified is flex-direction and the second value is flex-wrap.

Example: flex-flow: row wrap
One
Two
Three

CSS Grid

The CSS grid layout module excels at dividing a page into major regions or defining the relationship in terms of size, position, and layer, between parts of a control built from HTML primitives.

Like tables, grid layout enables an author to align elements into columns and rows. However, many more layouts are either possible or easier with CSS grid than they were with tables. For example, a grid container's child elements could position themselves so they actually overlap and layer, similar to CSS positioned elements.

CSS Grid Responsive Example

The example displays 3 items if the page is wide enough, then dynamically changes the layout as the page becomes narrower.

Item 1
Item 2
Item 3
Item 4
Item 5
Item 6


CSS Grid Line Based Example

The example below shows a three-column track grid with new rows created at a minimum of 100 pixels and a maximum of auto. Items have been placed onto the grid using line-based placement.

One
Two
Three
Four
Five
Six
Messages
Show All
Jhon Doe
15 minutes ago
Short message goes here...
Jhon Doe
15 minutes ago
Short message goes here...
Jhon Doe
15 minutes ago
Short message goes here...
Jhon Doe
15 minutes ago
Short message goes here...
Calendar
Show All
To Do List
Show All
Short task goes here...
Short task goes here...
Short task goes here...
Short task goes here...
Short task goes here...
Testimonial
copy code
Basic Form
We'll never share your email with anyone else.
Horizontal Form
Radios
Checkbox
Floating Label
File Input
Select
Check, Radio & Switch


Input Group
@
@example.com
https://example.com/users/
$ .00
@
With textarea
Sizing
Basic Table
# First Name Last Name Email
1 John Doe jhon@email.com
2 Mark Otto mark@email.com
3 Jacob Thornton jacob@email.com
Accented Table
# First Name Last Name Email
1 John Doe jhon@email.com
2 Mark Otto mark@email.com
3 Jacob Thornton jacob@email.com
Hoverable Table
# First Name Last Name Email
1 John Doe jhon@email.com
2 Mark Otto mark@email.com
3 Jacob Thornton jacob@email.com
Color Table
# First Name Last Name Email
1 John Doe jhon@email.com
2 Mark Otto mark@email.com
3 Jacob Thornton jacob@email.com
Bordered Table
# First Name Last Name Email
1 John Doe jhon@email.com
2 Mark Otto mark@email.com
3 Jacob Thornton jacob@email.com
Table Without Border
# First Name Last Name Email
1 John Doe jhon@email.com
2 Mark Otto mark@email.com
3 Jacob Thornton jacob@email.com
Responsive Table
# First Name Last Name Email Country ZIP Status
1 John Doe jhon@email.com USA 123 Member
2 Mark Otto mark@email.com UK 456 Member
3 Jacob Thornton jacob@email.com AU 789 Member
Single Line Chart
Multiple Line Chart
Single Bar Chart
Multiple Bar Chart
Pie Chart
Doughnut Chart
Basic Buttons
Outline Buttons
Rounded Buttons
Buttons Size
Icon Buttons
Icon Buttons Size
Icon & Text Buttons
Block Buttons
Basic Button Group
Mixed Button Group
Outlined Button Group
Checkbox Button Group
Radio Button Group
Button Toolbar
Vertical Button Group
Vertical Button Group (Checkbox & Radio)
Spinner Example

Spinner Animation Example