Introduction to CSS
Component of CSS
Within an element if we want to define any height or want to define any height of line boxes within the element .
For Example:-
So this is how we give the line-height between two lines.
Some more property values which we can use with the CSS line-height property.
value | description |
---|---|
normal | This is a default value. it specifies a normal line height. |
number | It specifies a number that is multiplied with the current font size to set the line height. |
length | It is used to set the line height in px, pt,cm,etc. |
% | It specifies the line height in percent of the current font. |
initial | It sets this property to its default value. |
inherit | It inherits this property from its parent element. |
CSS 3 training insitute | Best IT Training classes in Gurgaon | Web Designing Training Institute