Table of contents

Color Block

A block with color

Usage

{{< color-block style="" >}}

{{< /color-block >}}

Paramters:

  • style: block style
    • success
    • info
    • warning
    • error

Examples

{{< color-block >}}
hello world
{{< /color-block >}}
hello world
{{< color-block style="success" >}}
hello world
{{< /color-block >}}
hello world
{{< color-block style="info" >}}
hello world
{{< /color-block >}}
hello world
{{< color-block style="warning" >}}
hello world
{{< /color-block >}}
hello world
{{< color-block style="error" >}}
hello world
{{< /color-block >}}
hello world