Class |
Defines |
|
w3-row |
Container for one row of fluid responsive content |
Try it |
w3-row-padding |
Row where all columns have a default padding |
Try it |
w3-content |
Container for fixed size centered content |
Try it |
|
|
|
w3-half |
Half (1/2) screen column container |
Try it |
w3-third |
Third (1/3) screen column container |
Try it |
w3-twothird |
Two third (2/3) screen column container |
Try it |
w3-quarter |
Quarter (1/4) screen column container |
Try it |
w3-threequarter |
Three quarters (3/4) screen column container |
Try it |
w3-col |
Column container for any HTML content |
Try it |
|
|
|
l1 - l12 |
Responsive sizes for large screens |
Try it |
m1 - m12 |
Responsive sizes for medium screens |
Try it |
s1 - s12 |
Responsive sizes for small screens |
Try it |
|
|
|
w3-hide-small |
Hide content on small screens (less than 601px) |
Try it |
w3-hide-medium |
Hide content on medium screens |
Try it |
w3-hide-large |
Hide content on large screens (larger than 992px) |
Try it |
Class |
Defines |
|
w3-navbar |
Navigation bar |
Try it |
|
Collapsible navigation bar |
Try it |
w3-topnav |
Top navigation bar |
Try it |
w3-sidenav |
Side navigation bar |
Try it |
|
Side navigation bar overlaying main content |
Try it |
|
Side navigation bar overlaying all main content |
Try it |
|
Side navigation bar shifting main content to the right |
Try it |
|
Side navigation bar with an overlay background |
Try it |
w3-collapse |
Fully automatic responsive side navigation |
Try it |
w3-dropnav |
Dropdown navigation |
Try it |
w3-dropdown-click |
Clickable dropdown element |
Try it |
w3-dropdown-hover |
Hoverable dropdown element |
Try it |
|
Hoverable dropdown element (used in w3-navbar) |
Try it |
|
Hoverable dropdown element (used in w3-sidenav) |
Try it |
|
Hoverable dropdown element (used in w3-topnav) |
Try it |
w3-accordion |
Hide and show collapsible content |
Try it |
|
Clickable accordion and dropdown used in w3-sidenav |
Try it |
w3-pagination |
Pagination links |
Try it |
Class |
Defines |
|
w3-animate-top |
Animates an element from the top -300px to 0px |
Try it |
w3-animate-left |
Animates an element from left -300px to 0px |
Try it |
w3-animate-bottom |
Animates an element from the bottom -300px to 0px |
Try it |
w3-animate-right |
Animates an element from right -300px to 0px |
Try it |
w3-animate-opacity |
Animates an element's opacity from 0 to 1 |
Try it |
w3-animate-zoom |
Animates an element from 0 to 100% in size |
Try it |
w3-animate-fading |
Animates an element's opacity from 0 to 1 and 1 to 0 (fades in AND out) |
Try it |
w3-spin |
Spin an icon 360 degrees |
Try it |
|
Spin any element 360 degrees |
Try it |
w3-animate-input |
Animates the width of an input field to 100% |
Try it |
Class |
Defines |
|
w3-tiny |
Specifies a font size of 10 pixels |
Try it |
w3-small |
Specifies a font size of 12 pixels |
Try it |
w3-large |
Specifies a font size of 20 pixels |
Try it |
w3-xlarge |
Specifies a font size of 24 pixels |
Try it |
w3-xxlarge |
Specifies a font size of 32 pixels |
Try it |
w3-xxxlarge |
Specifies a font size of 48 pixels |
Try it |
w3-jumbo |
Specifies a font size of 64 pixels |
Try it |
w3-slim |
Specifies a slimmer text |
Try it |
w3-wide |
Specifies a wider text |
Try it |
w3-vertical |
Specifies vertical text |
Try it |
w3-top |
Fixed content on top of page |
Try it |
w3-center |
Centered content |
Try it |
w3-circle |
Circled content |
Try it |
w3-hide |
Hidden content (display:none) |
Try it |
w3-show |
Show content (display:block) |
Try it |
w3-show-block |
Alias of w3-show (display:block) |
Try it |
w3-show-inline-block |
Show content as inline-block (display:inline-block) |
Try it |
w3-hide-small |
Hide content on small screens (less than 601px) |
Try it |
w3-hide-medium |
Hide content on medium screens |
Try it |
w3-hide-large |
Hide content on large screens (larger than 992px) |
Try it |
w3-left |
Left adjusted content |
Try it |
w3-right |
Right adjusted content |
Try it |
w3-left-align |
Left aligned text |
Try it |
w3-right-align |
Right aligned text |
Try it |
w3-justify |
Right and left aligned text |
Try it |
w3-display-container |
Container for w3-display-classes (position: relative) |
Try it |
w3-display-topleft |
Position content in the top left corner |
Try it |
w3-display-topright |
Position content in the top right corner |
Try it |
w3-display-bottomleft |
Position content in the bottom left corner |
Try it |
w3-display-bottomright |
Position content in the bottom right corner |
Try it |
w3-display-middle |
Position content in the middle (horizontally and vertically) |
Try it |
w3-display-topmiddle |
Position content in the middle at the top of the element |
Try it |
w3-display-bottommiddle |
Position content in the middle at the bottom of the element |
Try it |
w3-serif |
Changes the font to serif |
Try it |
w3-opacity |
Adds opacity to text |
Try it |
|
Adds opacity to any element |
Try it |
w3-overlay |
Creates an overlay effect |
Try it |
w3-text-shadow |
Adds shadows to text |
Try it |
Class |
Defines |
|
w3-red |
Background color red |
Try it |
w3-pink |
Background color pink |
Try it |
w3-purple |
Background color purple |
Try it |
w3-deep-purple |
Background color deep purple |
Try it |
w3-indigo |
Background color indigo |
Try it |
w3-blue |
Background color blue |
Try it |
w3-light-blue |
Background color light blue |
Try it |
w3-cyan |
Background color cyan |
Try it |
w3-aqua |
Background color aqua |
Try it |
w3-teal |
Background color teal |
Try it |
w3-green |
Background color green |
Try it |
w3-light-green |
Background color light green |
Try it |
w3-lime |
Background color lime |
Try it |
w3-sand |
Background color sand |
Try it |
w3-khaki |
Background color khaki |
Try it |
w3-yellow |
Background color yellow |
Try it |
w3-amber |
Background color amber |
Try it |
w3-orange |
Background color orange |
Try it |
w3-deep-orange |
Background color deep orange |
Try it |
w3-blue-grey |
Background color blue grey |
Try it |
w3-brown |
Background color brown |
Try it |
w3-light-grey |
Background color light grey |
Try it |
w3-grey |
Background color grey |
Try it |
w3-dark-grey |
Background color dark grey |
Try it |
w3-black |
Background color black |
Try it |
w3-pale-red |
Background color pale red |
Try it |
w3-pale-yellow |
Background color pale yellow |
Try it |
w3-pale-green |
Background color pale green |
Try it |
w3-pale-blue |
Background color pale blue |
Try it |
w3-transparent |
Transparent background-color |
|
Class |
Defines |
|
w3-padding-0 |
No padding |
Try it |
w3-padding-tiny |
Padding 2px top and bottom, and 4px left and right. |
Try it |
w3-padding-small |
Padding 4px top and bottom, and 8px left and right. |
Try it |
w3-padding |
Padding 8px top and bottom, and 16px left and right. |
Try it |
w3-padding-medium |
Padding 8px top and bottom, and 16px left and right. |
Try it |
w3-padding-large |
Padding 12px top and bottom, and 24px left and right. |
Try it |
w3-padding-xlarge |
Padding 16px top and bottom, and 32px left and right. |
Try it |
w3-padding-xxlarge |
Padding 24px top and bottom, and 48px left and right. |
Try it |
w3-padding-jumbo |
Padding 32px top and bottom, and 64px left and right. |
Try it |
w3-padding-4 |
Padding 4px top and bottom |
Try it |
w3-padding-8 |
Padding 8px top and bottom |
Try it |
w3-padding-12 |
Padding 12px top and bottom |
Try it |
w3-padding-16 |
Padding 16px top and bottom |
Try it |
w3-padding-24 |
Padding 24px top and bottom |
Try it |
w3-padding-32 |
Padding 32px top and bottom |
Try it |
w3-padding-48 |
Padding 48px top and bottom |
Try it |
w3-padding-64 |
Padding 64px top and bottom |
Try it |
w3-padding-128 |
Padding 128px top and bottom |
Try it |
w3-padding-top |
Padding top 8px |
Try it |
w3-padding-right |
Padding right 16px |
Try it |
w3-padding-bottom |
Padding bottom 8px |
Try it |
w3-padding-left |
Padding left 16px |
Try it |
Class |
Defines |
|
w3-margin |
Same as w3-margin-16 |
Try it |
w3-margin-0 |
Margin 0 (removes margin: top, right, bottom and left) |
Try it |
w3-margin-2 |
Margin 2px (top, right, bottom and left) |
Try it |
w3-margin-4 |
Margin 4px (top, right, bottom and left) |
Try it |
w3-margin-8 |
Margin 8px (top, right, bottom and left) |
Try it |
w3-margin-12 |
Margin 12px (top, right, bottom and left) |
Try it |
w3-margin-16 |
Margin 16px (top, right, bottom and left) |
Try it |
w3-margin-24 |
Margin 24px (top, right, bottom and left) |
Try it |
w3-margin-32 |
Margin 32px (top, right, bottom and left) |
Try it |
w3-margin-64 |
Margin 64px (top, right, bottom and left) |
Try it |
w3-margin-top |
Margin top 16px |
Try it |
w3-margin-right |
Margin right 16px |
Try it |
w3-margin-bottom |
Margin bottom 16px |
Try it |
w3-margin-left |
Margin left 16px |
Try it |
w3-section |
Container for HTML content (adds 16px margin top and bottom) |
Try it |
w3-section-4 |
Container for HTML content (adds 4px margin top and bottom) |
Try it |
w3-section-8 |
Container for HTML content (adds 8px margin top and bottom) |
Try it |
w3-section-12 |
Container for HTML content (adds 12px margin top and bottom) |
Try it |
w3-section-16 |
Same as w3-section. Container for HTML content (adds 16px margin top and bottom) |
Try it |
w3-section-24 |
Container for HTML content (adds 24px margin top and bottom) |
Try it |
w3-section-32 |
Container for HTML content (adds 32px margin top and bottom) |
Try it |
w3-section-48 |
Container for HTML content (adds 48px margin top and bottom) |
Try it |
w3-section-64 |
Container for HTML content (adds 64px margin top and bottom) |
Try it |
w3-section-128 |
Container for HTML content (adds 128px margin top and bottom) |
Try it |