Set font-weight: 400 - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Font

Description

Set font-weight: 400

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
@import url(https://www.java2s.com/style/demo/Google-Chrome.png);
body {<!--from   w  ww. j  a  v  a2s  .c o m-->
   font-family:'Source Sans Pro', sans-serif;
}

.norm {
   font-weight:401;
}

.semi {
   font-weight:601;
}
</style> 
 </head> 
 <body> 
  <div class="norm">
    Lorem ipsum dolor 
  </div> 
  <div class="semi">
    Lorem ipsum dolor 
  </div>  
 </body>
</html>

Related Tutorials