Update frontmatter data
This commit is contained in:
50
snippets/css-inherited-properties-cheatsheet.md
Normal file
50
snippets/css-inherited-properties-cheatsheet.md
Normal file
@ -0,0 +1,50 @@
|
||||
---
|
||||
title: CSS inherited properties cheatsheet
|
||||
shortTitle: Inherited properties
|
||||
type: cheatsheet
|
||||
tags: [css,layout]
|
||||
author: chalarangelo
|
||||
cover: half-trees
|
||||
excerpt: A quick reference for inherited CSS properties.
|
||||
dateModified: 2022-11-20T05:00:00-04:00
|
||||
---
|
||||
|
||||
The [CSS specification](https://www.w3.org/TR/CSS21/propidx.html) clearly states which CSS properties are inherited but the related appendix is not the most user-friendly resource. Here's a quick reference of the inherited properties that you are most likely to run into:
|
||||
|
||||
- `border-collapse`
|
||||
- `border-spacing`
|
||||
- `caption-side`
|
||||
- `color`
|
||||
- `cursor`
|
||||
- `direction`
|
||||
- `empty-cells`
|
||||
- `font-family`
|
||||
- `font-size`
|
||||
- `font-style`
|
||||
- `font-variant`
|
||||
- `font-weight`
|
||||
- `font-size-adjust`
|
||||
- `font-stretch`
|
||||
- `font`
|
||||
- `letter-spacing`
|
||||
- `line-height`
|
||||
- `list-style-image`
|
||||
- `list-style-position`
|
||||
- `list-style-type`
|
||||
- `list-style`
|
||||
- `orphans`
|
||||
- `quotes`
|
||||
- `tab-size`
|
||||
- `text-align`
|
||||
- `text-align-last`
|
||||
- `text-decoration-color`
|
||||
- `text-indent`
|
||||
- `text-justify`
|
||||
- `text-shadow`
|
||||
- `text-transform`
|
||||
- `visibility`
|
||||
- `white-space`
|
||||
- `widows`
|
||||
- `word-break`
|
||||
- `word-spacing`
|
||||
- `word-wrap`
|
||||
Reference in New Issue
Block a user