HTML.CSS.Relative font size

This code will increase font size to 90 px. 3em means multiply to 300 %.

...
<head>
<style>
body {
  font-size: 30px;
}
</style>
</head>
<body>
  <div style="font-size: 3em;">How big am I?</div>
</body>
...

This entry was posted in Без рубрики. Bookmark the permalink.