CalloutCSS

Below are examples of the types of callouts you can add to your website with CalloutCSS.

Basic Callouts

The basic callouts have three types; note, warning and danger which come in blue, yellow and red respectfully. The design of the basic callout has a left border with a stronger instance of the callout colour. The form of the basic callout are <TYPE-callout>...</TYPE-callout>. Below are examples of the basic callouts:

Note

<note-callout> An example of a NOTE callout </note-callout>

An example of a NOTE callout

Warning

<warning-callout> An example of a WARNING callout </warning-callout>

An example of a WARNING callout

Danger

<danger-callout> An example of a DANGER callout </danger-callout>

An example of a DANGER callout

Full Border Callouts

You can choose decorate your callouts with a full border style by using <TYPE-callout-full>...</TYPE-callout-full> Below are examples of the full border callouts:

Note

<note-callout-full> An example of a NOTE callout </note-callout-full>

An example of a NOTE callout

Warning

<warning-callout-full> An example of a WARNING callout </warning-callout-full>

An example of a WARNING callout

Danger

<danger-callout-full> An example of a DANGER callout </danger-callout-full>

An example of a DANGER callout

Prefix Keywords

You may choose to have the callout type or any other keyword as a prefix for the callout. You can add the <strong>Keyword</strong> formatting to the callout to grab the user's attention further. Below are examples of using the keyword prefix:

<note-callout> <strong>NOTE:</strong> An example of a NOTE callout </note-callout>

NOTE: An example of a NOTE callout

<warning-callout-full> <strong>WARNING:</strong> An example of a WARNING callout </warning-callout-full>

WARNING: An example of a WARNING callout

<danger-callout-full> <strong>ISSUE 1:</strong> An example of a DANGER callout </danger-callout-full>

Issue 1: An example of a DANGER callout