<html>
  <head>
    <title>fonts</title>
  </head>
  <body>
    <div class="parent">salam
<div class="child">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vel debitis odit accusamus dicta quaerat a ut facere omnis quam? Consequatur eligendi repudiandae numquam dolorum eius quis enim neque odit obcaecati?</div>
</div>
    
<div class="em">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vel debitis odit accusamus dicta quaerat a ut facere omnis quam? Consequatur eligendi repudiandae numquam dolorum eius quis enim neque odit obcaecati?</div>
  </body>
</html>
.parent{
  font-size: 25px;
}
.child{
  font-size: 100%;
}

.em{
  font-size: 2em;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.