CSS Tutorial in Hindi [Part 9] - CSS Height and Width

Описание к видео CSS Tutorial in Hindi [Part 9] - CSS Height and Width

In this video i will talk about CSS Height and Width.

The height and width properties are used to set the height and width of an element.

The height and width properties do not include padding, borders, or margins. It sets the height/width of the area inside the padding, border, and margin of the element.

CSS height and width Values
The height and width properties may have the following values:

auto - This is default. The browser calculates the height and width
length - Defines the height/width in px, cm etc.
% - Defines the height/width in percent of the containing block
initial - Sets the height/width to its default value
inherit - The height/width will be inherited from its parent value

Комментарии

Информация по комментариям в разработке