About & Social

0
http://gulpatutorial.blogspot.in/

The line between the two is the amount of empty space will be directed to the property.

For example:

<html>
<head>
    <style type=”text/css”>
       p.small {line-height:90%}
       p.big {line-height:200%}
    </style>
</head>
  <body>
    <p>
    This is a paragraph with a standard line-height.
    The default line height in most browsers is about 110% to 120%
    This is a paragraph with a standard line-height.
    </p>

    <p class=”small”>
    This is a paragraph with a smaller line-height.
    This is a paragraph with a smaller line-height.
    This is a paragraph with a smaller line-height.

    <p class=”big”>
    This is a paragraph with a bigger line-height.
    This is a paragraph with a bigger line-height.
    This is a paragraph with a bigger line-height.
    </p>
  </body>

</html>

Code Analysis: The above example CSS p.small and p.big the time of writing we have used which many people may not understand. Here are three paragraph styles in three different parts of the body of the first of them to be <p class = "small"> and <p class = "big"> We have identified the name of the style sheet class name calling, called Class Selectors.


Line-height property management unit of measure used:
  • Numbers can be used directly. Font size, line height multiplied by the value that.
  • Line height px, pt, cm units through to determine.
  • Percentage (%) value relative to the size of the font used in the line height.

Post a Comment

Dear readers, after reading the Content please ask for advice and to provide constructive feedback Please Write Relevant Comment with Polite Language.Your comments inspired me to continue blogging. Your opinion much more valuable to me. Thank you.