CSS Dimension

The <dimension> CSS data type represents a <number> with a unit attached to it, for example 10px. CSS uses dimensions to specify distances ( <length> ), durations ( <time> ), frequencies ( <frequency> ), resolutions ( <resolution> ), and other quantities. The syntax of <dimension> is a <number> immediately followed by a unit which is an identifier.

Code sample

div {
  height: 200px;
  width: 50%;
  background-color: powderblue;

Terry White

Terry White is a professional Drupal & WordPress developer, Web developer, Web designer, Software Engineer, and Blogger. He strives for pixel-perfect design, clean robust code, and a user-friendly interface. If you have a project in mind and like his work, feel free to contact him

View all posts by Terry White →