CSS UNITS
Before digging into CSS properties, first, we need to know what is units and what does it do. CSS has a lot of units for expressing a length. A length is a number followed by length units, such as 10px, 2em, etc. There should not be any white spaces between the number and the unit.
Many CSS properties take…