-webkit-font-smoothing property - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Font

Description

-webkit-font-smoothing property

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">
body {<!-- w w  w. j a v a  2  s .c  o m-->
   font-family:"HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
   font-weight:301;
}
</style> 
 </head> 
 <body> 
  <div style="font-size: 32px"> 
   <p style="-webkit-font-smoothing: subpixel-antialiased">Lorem ipsum dolor si</p> 
   <p style="-webkit-font-smoothing: antialiased">Lorem ipsum dolor si</p> 
   <p style="-webkit-font-smoothing: none">Lorem ipsum dolor si</p> 
  </div>  
 </body>
</html>

Related Tutorials