📄️ Base styles
The base styles provide reasonable defaults for some elements. These are almost always included in a project along with reset and the media queries.
📄️ CSS reset
These styles add some minimal element style resets. It's inspired by Josh Comeau's CSS reset.
📄️ Media queries
Cacao provides a number of different media query variables that you can use in your code.
🗃️ Aspect ratio
3 items
📄️ Clearfix
If you have content floated to the left or right, you often need to clear the float so that the parent element will expand to the height of the floated element.
🗃️ Display
7 items
📄️ Embedding content
This provides styles for embedding iframes and other media types.
📄️ Grid
This provides styles for setting an element to be displayed as a grid with flexbox.
🗃️ Grid column sizes
14 items
📄️ Grid number of columns
When building grids using the column size and gutter classes, the CSS needs to know the number of columns in the grid in order to correctly adjust the column widths for the gutters.
🗃️ Gutters
5 items
🗃️ Height
12 items
📄️ Images
The image styles provide helper classes to align images to the left or right of content. The image will have proper margins around it and on small screens it will no longer float but will show as a block element.
📄️ Links
The link styles provide helper classes to set links to be subtle (i.e. no underline and they match the text around them).
🗃️ Margins
9 items
📄️ Object fit
This provides styles for setting the object-fit style for elements.
🗃️ Padding
9 items
📄️ Position
This provides styles for setting the position style for elements.
🗃️ Pull
12 items
🗃️ Push
12 items
📄️ Spacing
This provides styles for removing the space around an element when it's inside another element that has one of the spacing classes.
🗃️ Typography
8 items
🗃️ Width
12 items