Google font via @import - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Font

Description

Google font via @import

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/Firefox.png);
h1 {<!--from   ww  w .j  a v  a 2  s .  c  o m-->
   font-family:'Muli', sans-serif;
}
</style> 
 </head> 
 <body> 
  <h1>Lorem ipsum </h1>  
 </body>
</html>

Related Tutorials