Flex Grid
Parent: grid grid-cols-12 gap-4
1 + 11: col-span-1 + col-span-11
2 + 10: col-span-2 + col-span-10
3 + 9: col-span-3 + col-span-9
4 + 8: col-span-4 + col-span-8
5 + 7: col-span-5 + col-span-7
6 + 6: col-span-6 + col-span-6
12 + 12: col-span-12 + col-span-12
Simple grid
1 cols: grid gap-4 grid-cols-1 xs:grid-cols-1 sm:grid-cols-1 md:grid-cols-1 lg:grid-cols-1 xl:grid-cols-1
2 cols: grid gap-4 grid-cols-2 xs:grid-cols-2 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-2 xl:grid-cols-2
3 cols: grid gap-4 grid-cols-3 xs:grid-cols-3 sm:grid-cols-3 md:grid-cols-3 lg:grid-cols-3 xl:grid-cols-3
4 cols: grid gap-4 grid-cols-4 xs:grid-cols-4 sm:grid-cols-4 md:grid-cols-4 lg:grid-cols-4 xl:grid-cols-4
5 cols: grid gap-4 grid-cols-5 xs:grid-cols-5 sm:grid-cols-5 md:grid-cols-5 lg:grid-cols-5 xl:grid-cols-5
10 cols: grid gap-4 grid-cols-10 xs:grid-cols-10 sm:grid-cols-10 md:grid-cols-10 lg:grid-cols-10 xl:grid-cols-10
12 cols: grid gap-4 grid-cols-12 xs:grid-cols-12 sm:grid-cols-12 md:grid-cols-12 lg:grid-cols-12 xl:grid-cols-12
Grid or Flex Gap
[0px] grid grid-cols-2gap-0xs:gap-0sm:gap-0md:gap-0lg:gap-0xl:gap-0
[4px] grid grid-cols-2gap-1xs:gap-1sm:gap-1md:gap-1lg:gap-1xl:gap-1
[8px] grid grid-cols-2gap-2xs:gap-2sm:gap-2md:gap-2lg:gap-2xl:gap-2
[12px] grid grid-cols-2gap-3xs:gap-3sm:gap-3md:gap-3lg:gap-3xl:gap-3
[16px] grid grid-cols-2gap-4xs:gap-4sm:gap-4md:gap-4lg:gap-4xl:gap-4
[16px] grid grid-cols-2gap-5xs:gap-5sm:gap-5md:gap-5lg:gap-5xl:gap-5
[16px] grid grid-cols-2gap-6xs:gap-6sm:gap-6md:gap-6lg:gap-6xl:gap-6
[32px] grid grid-cols-2gap-8xs:gap-8sm:gap-8md:gap-8lg:gap-8xl:gap-8
[40px] grid grid-cols-2gap-10xs:gap-10sm:gap-10md:gap-10lg:gap-10xl:gap-10
[64px] grid grid-cols-2gap-16xs:gap-16sm:gap-16md:gap-16lg:gap-16xl:gap-16
[80px] grid grid-cols-2gap-20xs:gap-20sm:gap-20md:gap-20lg:gap-20xl:gap-20
[128px] grid grid-cols-2gap-32xs:gap-32sm:gap-32md:gap-32lg:gap-32xl:gap-32
Flex
Flex Row: flex flex-row xs:flex-row sm:flex-row
Flex Row Reverse: flex flex-row-reverse xs:flex-row-reverse sm:flex-row-reverse
Flex Col: flex flex-col
Flex Col Reverse: flex flex-col-reverse xs:flex-col-reverse sm:flex-col-reverse
Flex Wrap: flex flex-wrap
Flex nowrap: flex flex-wrap flex-nowrap
Flex - Align Content
Content align start: flex flex-wrap items-start content-start
Content align center: flex flex-wrap items-start content-center
Content align end: flex flex-wrap items-start content-end
Content space between:
flex flex-wrap content-between
Content space stretch:
flex flex-wrap content-stretch
Content space evenly:
flex flex-wrap content-evenly
Content space around:
flex flex-wrap content-around
Flex - Justify Content
Justify start: flex flex-wrap items-center align-center justify-start
Justify center: flex flex-wrap items-center align-center justify-center
Justify end: flex flex-wrap items-center align-center justify-end
Justify space between:
flex flex-wrap justify-between
Justify space stretch:
flex flex-wrap justify-stretch
Justify space evenly:
flex flex-wrap content-evenly justify-evenly
Justify space around:
flex flex-wrap content-evenly justify-around
Flex - Align Items
Align Inside ROW
Align items stretch: flex flex-wrap content-center items-stretch
Align items start: flex flex-wrap content-center items-start xs:items-start
Align items center: flex flex-wrap content-center items-center xs:items-center
Align items end: flex flex-wrap content-center items-end xs:items-end
Paddings
Padding bottom: pb-1 = 4px
Paddings combined
Margins
[auto] mt-auto mb-auto ml-auto mr-auto --||-- mx-auto my-auto
[0px] mt-0 mb-0 ml-0 mr-0 xs:mt-0 xs:mb-0 xs:ml-0 xs:mr-0
[4px] mt-1 mb-1 ml-1 mr-1
[8px] mt-2 mb-2 ml-2 mr-2
[12px] mt-3 mb-3 ml-3 mr-3 xs:ml-3 xs:mr-3
[16px] mt-4 mb-4 ml-4 mr-4
[18px] mt-5 mb-5 ml-5 mr-5
[24px] mt-6 mb-6 ml-6 mr-6 xs:ml-6 xs:mr-6
[32px] mt-8 mb-8 ml-8 mr-8
[40px] mt-10 mb-10 ml-10 mr-10
[64px] mt-16 mb-16 ml-16 mr-16
[80px] mt-20 mb-20 ml-20 mr-20
[128px] mt-32 mb-32 ml-32 mr-32
[256px] mt-64 mb-64 ml-64 mr-64
Heading 1
This is a paragraph of text using Tailwind CSS's Prose class for styling. It helps in formatting text content.
Heading 2
This is another paragraph of text.
- List item 1
- List item 2
- Nested list item 1
- Nested list item 2
- List item 3
Heading 3
Another paragraph of text.
This is a blockquote. Tailwind Prose styles make it easy to create nicely formatted content.
- Ordered list item 1
- Ordered list item 2
- Nested list item 1
- Nested list item 2
- Ordered list item 3
Heading 4
Final paragraph:
- This is a link
- Strong text
- Emphasized text
Deleted text
- Inserted text
- Highlighted text
- Abbr
- Superscript
- Subscript
- Small text
- Hotkey: Ctrl + C.
- Sample output
- Variable
- Use this var:
{example: Inline code} in your message.

{example: Code inside paragraph}
The code outside paragraph
Code block
Text align
text-left
text-center
text-right
text-justify
Text decoration
italic
underline
line-through
no-underline not-italic
Font weight
font-light
The quick brown fox ...
font-normal
The quick brown fox ...
font-medium
The quick brown fox ...
font-semibold
The quick brown fox ...
font-bold
The quick brown fox ...
Headings
text-h1
The quick brown fox
text-h2
The quick brown fox
text-h3
The quick brown fox
text-h4
The quick brown fox
Font size
text-sm
The quick brown fox jumps over the lazy dog.
text-md (default)
The quick brown fox jumps over the lazy dog.
text-lg
The quick brown fox jumps over the lazy dog.
text-xl
The quick brown fox jumps over the lazy dog.
text-2xl
The quick brown fox jumps over the lazy dog.
text-3xl
The quick brown fox jumps over the lazy dog.
text-4xl
The quick brown fox.
text-5xl
The quick brown fox.
text-6xl
The quick brown fox.
text-7xl
The quick brown fox.
Word break
break-normal
The longest word in any of the major English language dictionaries is pneumonoultramicroscopicsilicovolcanoconiosis, a word that refers to a lung disease contracted from the inhalation of very fine silica particles
break-all
The longest word in any of the major English language dictionaries is pneumonoultramicroscopicsilicovolcanoconiosis, a word that refers to a lung disease contracted from the inhalation of very fine silica particles
break-words
The longest word in any of the major English language dictionaries is pneumonoultramicroscopicsilicovolcanoconiosis, a word that refers to a lung disease contracted from the inhalation of very fine silica particles
Borders
Tip: adding border-solid is necessary for Using without Preflight
Combined: border-solid border -- || -- border-solid border-*
Separated: border-t border-b border-l border-r -- || -- border-solid border-%-*
Style: border-solid / border-dashed / border-dotted / border-none
Style Hover: hover:border-solid / hover:border-dashed / hover:border-dotted / hover:border-none / hover:border-transparent
Solid
Dashed
Dotted
None
Transparent
Border Radius
Combined: rounded-*
none
xs
sm
md
lg
lp
xl
2xl
3xl
full
none
Separated: rounded-%-*
none
xs
sm
md
lg
lp
xl
2xl
3xl
full
Shadow static: shadow -- || -- shadow-*
default
inner
none
sm
md
lg
xl
Shadow hover: hover:shadow -- || -- hover:shadow-*
default
inner
none
sm
md
lg
xl
Transitions
transition ease-linear duration-150 -- || -- transition ease-out duration-300
Animations
animate-spin, animate-ping, animate-bounce, animate-pulse
Processing...
Transactions
Bg Color Transparency
Dark: bg-black bg-opacity-*
0
10
20
30
40
50
60
70
80
90
100
Light: bg-white bg-opacity-*
0
10
20
30
40
50
60
70
80
90
100
All Bg Colors
bg-colorName-ToneCode (for gray, neutral and (main colors) also dark:bg-...)
Main Colors
bg-colorName-ToneCode
primary
100
200
300
400
500
600
700
800
secondary
100
200
300
400
500
600
700
800
success
100
200
300
400
500
600
700
800
info
100
200
300
400
500
600
700
800
warning
100
200
300
400
500
600
700
800
danger
100
200
300
400
500
600
700
800
Base Colors
Black And White: text-black, text-white, text-inherit, text-current, text-transparent
Black
White
Inherit
Current
Transparent
Main Text Colors
Primary: text-primary-* border-primary-*
50
100
200
300
400
500
600
700
800
900
950
Secondary: text-secondary-* border-secondary-*
50
100
200
300
400
500
600
700
800
900
950
Success:text-success-* border-success-*
50
100
200
300
400
500
600
700
800
900
950
Info:text-info-* border-info-*
50
100
200
300
400
500
600
700
800
900
950
Warning:text-warning-* border-warning-*
50
100
200
300
400
500
600
700
800
900
950
Danger:text-danger-* border-danger-*
50
100
200
300
400
500
600
700
800
900
950
All Text Colors
text-colorName-ToneCode -- and -- border-colorName-ToneCode
Gray
50
100
200
300
400
500
600
700
800
900
950
Zinc
50
100
200
300
400
500
600
700
800
900
950
Neutral
50
100
200
300
400
500
600
700
800
900
950
Stone
50
100
200
300
400
500
600
700
800
900
950
Red
50
100
200
300
400
500
600
700
800
900
950
Orange
50
100
200
300
400
500
600
700
800
900
950
Amber
50
100
200
300
400
500
600
700
800
900
950
Yellow
50
100
200
300
400
500
600
700
800
900
950
Lime
50
100
200
300
400
500
600
700
800
900
950
Green
50
100
200
300
400
500
600
700
800
900
950
Emerald
50
100
200
300
400
500
600
700
800
900
950
Teal
50
100
200
300
400
500
600
700
800
900
950
Cyan
50
100
200
300
400
500
600
700
800
900
950
Sky
50
100
200
300
400
500
600
700
800
900
950
Blue
50
100
200
300
400
500
600
700
800
900
950
Indigo
50
100
200
300
400
500
600
700
800
900
950
Violet
50
100
200
300
400
500
600
700
800
900
950
Purple
50
100
200
300
400
500
600
700
800
900
950
Fuchsia
50
100
200
300
400
500
600
700
800
900
950
Pink
50
100
200
300
400
500
600
700
800
900
950
Rose
50
100
200
300
400
500
600
700
800
900
950
Alerts
A simple primary alert!
A simple secondary alert!
A simple success alert!
A simple danger alert!
A simple warning alert!
A simple info alert!
A simple light alert!
A simple dark alert!
Display
block
inline-block
or
ib
,
inline
,
,
hidden this text is hidden
Responsive
Inline block
[start-screen] : [hidden | block | inline-block | ib]
base:hidden xs:ibib xs:hidden
sm:hidden sm:ibib sm:hidden
md:hidden md:ibib md:hidden
lg:hidden lg:ibib lg:hidden
xl:hidden xl:ibib xl:hidden
combined example
from sm to lg (or inverted):inline-block sm:hidden lg:inline-blockhidden sm:ib lg:hidden
important to use «inline-block» instead of «ib»!
Responsive block
hidden xs:block
hidden sm:block
hidden md:block
hidden lg:block
hidden xl:block
Screens & Containers
container-xs: 576px @media (min-width: 576px)
container-sm: 768px @media (min-width: 768px)
container-md: 992px @media (min-width: 992px)
container-lg: 1200px @media (min-width: 1200px)
container-xl: 1600px @media (min-width: 1600px)
container: adaptive (100%, 768px, 992px, 1200px, 1600px)