You have an element inside a container. The container has a font-size of 20px. If you set the child element's font-size to 1.5em, what will be its computed font-size?

  • 10px
  • 15px
  • 20px
  • 30px
When you set the child element's font-size to 1.5em, it multiplies the parent element's font-size. In this case, 1.5em x 20px = 30px. So, the computed font-size of the child element will be 30px.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *