W3.CSS Cheat Sheet: by Via
W3.CSS Cheat Sheet: by Via
W3.CSS Cheat Sheet: by Via
w3-container HTML container w3-row Fluid content row w3-bar Horizontal bar
w3-panel HTML container w3-row- All cols have default w3- Vertical bar
padding padding bar-
w3-badge Circular badge
w3-content Fixed size centered content block
w3-tag Rectangular tag
w3- Common style for items
w3-half 1/2-of-screen column
w3-ul Unordered list
bar-
w3-third 1/3-of-screen column
w3-display- For w3-display- classes item
container w3-twothird 2/3-of-screen column
w3- Side bar
w3-code Code container block w3-quarter 1/4-of-screen column sidebar
w3-codespan Code container inline w3-threequarter 3/4-of-screen column w3- Responsiveness for side bar;
w3-table-all All table properties set w3-hide-large Hide on large screens Button Classes
w3-animate-top Slide from top -300px w3-show Visible content w3-opacity Opacity 0.6
w3-animate-left Slide from left -300px w3-show- Visible inline content w3-opacity-off Opacity 1.0
inline-block
w3-animate- Slide from bottom -300px w3-opacity-min Opacity 0.75
bottom w3-top Top-of-page fixed w3-opacity-max Opacity 0.25
w3-animate-right Slide from right -300px content
w3-grayscale-min Grayscale 50%
w3-bottom End-of-page fixed
w3-animate- Shift opacity from 0 to 1
w3-grayscale Grayscale 75%
content
opacity
w3-grayscale-max Grayscale 100%
w3-animate-zoom Grows from 0 to 100% w3-display- For w3-display- classes
container w3-sepia-min Sepia effect 50%
w3-spin Spin 360 degrees
w3-display-topleft Content at top left of box w3-sepia Sepia effect 75%
w3-animate-input Grows input field on
w3-display-topright Content at top right of w3-sepia-max Sepia effect 100%
focus
box w3-overlay Overlay effect
Font and Text Classes w3-display- Content at bottom left of
bottomleft box Color Classes
w3-tiny 10px font size
w3-display- Content at bottom right w3-COLOR Background color
w3-small 12px font size
bottomright of box
w3-hover-COLOR Hover color
w3-large 18px font size w3-display-left Content at middle left of
w3-text-COLOR Text color
w3-xlarge 24px font size box
w3-hover-text-COLOR Hover text color
w3-xxlarge 32px font size w3-display-right Content at middle right
of box
w3-xxxlarge 48px font size
Other Hover Classes
w3-display-middle Content at center of box
w3-jumbo 64px font size
w3-hover-border- Color on hover
w3-wide Wider text w3-display- Content at top center of
COLOR
topmiddle box
w3-serif Changes to serif font
w3-display- Content at bottom center w3-hover-opacity Opacity on hover
Margin Classes
Border Classes