w3resource logo


Icon Tutorial

Material Icon 3d_rotation Icon

Secondary Nav

Usage

<i class="material-icons">3d_rotation</i>

Out of the box

<!DOCTYPE html>
<html>
<head>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<i class="material-icons">3d_rotation</i>
</body>
</html>

JS Bin on jsbin.com

Large Icon

<!DOCTYPE html>
<html>
<head><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<style type="text/css">
.material-icons.md-48 { font-size: 48px; }
</style>
</head>
<body>
<i class="material-icons md-48">3d_rotation</i>
</body>
</html>

JS Bin on jsbin.com

Change color

<!DOCTYPE html>
<html>
<head><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<style type="text/css">
.material-icons.md-18 { font-size: 18px;color: #0000FF }
.material-icons.md-24 { font-size: 24px;color: #0000FF }
.material-icons.md-36 { font-size: 36px;color: #0000FF }
.material-icons.md-48 { font-size: 48px;color: #0000FF  }
</style>
</head>
<body>
<p><i class="material-icons md-18">3d_rotation</i></p>
<p><i class="material-icons md-24">3d_rotation</i></p>
<p><i class="material-icons md-36">3d_rotation</i></p>
<p><i class="material-icons md-48">3d_rotation</i></p>
</body>
</html>

JS Bin on jsbin.com



Join our Question Answer community to learn and share your programming knowledge.

Solve these problems:

Java: How to convert a string to an integer in Java?

C#: Loops in c#

SQL: JOIN using more than 5 tables