There are some CSS properties whose values contain numbers, such as
`height`
, `font-size`
, `margin`
, `padding`
, `width`
, etc.
Rather than changing the value manually, we can quickly increase or decrease the value by using one of the following key combinations:Key combinations | Value change |
---|---|
โ | Increase by 1 |
โ | Decrease by 1 |
alt + โ | Increase by 0.1 |
alt + โ | Decrease by 0.1 |
shift + โ | Increase by 10 |
shift + โ | Decrease by 10 |
cmd + โ | Increase by 100 |
cmd + โ | Decrease by 100 |
On Windows and Linux, the cmd key should be replaced with the ctrl key.