Wednesday, 5 October 2016

Google Icon for HTML


Below is the sample how to use CDN of Google Icone

---------------------------------------------------------------------
Goggle CDN: 
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">

---------------------------------------------------------------------
All Google Icone find here:
https://design.google.com/icons/


---------------------------------------------------------------------
<!DOCTYPE html>
<html>
<head>
<title>Google Icons</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
</head>
<body>

<p>Some Google icons:</p>
<i class="material-icons">cloud</i>
<i class="material-icons">favorite</i>
<i class="material-icons">attachment</i>
<i class="material-icons">computer</i>
<i class="material-icons">traffic</i>
<br><br>

<p><code>Styled Google icons (size and color):</code></p>
<i class="material-icons" style="font-size:24px;">cloud</i>
<i class="material-icons" style="font-size:36px;">cloud</i>
<i class="material-icons" style="font-size:48px;color:red;">cloud</i>
<i class="material-icons" style="font-size:60px;color:lightblue;">cloud</i>

</body>
</html>

--------------------------------------------------------------------- OUTPUT:


No comments:

Post a Comment