How to set font size using CSS Measurement Unit vmin?

JavascriptWeb DevelopmentFront End Scripts

To set font size with CSS Measurement Unit vmin, try to run the following code:

<html>
   <head>
   </head>
   <body>
      <div style = "position:relative;left:90px;top:3px;background-color:yellow;font-size: 4vmin;">
         This div has relative positioning.
      </div>
   </body>
</html>
raja
Published on 13-Apr-2018 11:45:51
Advertisements