Open In App

Spectre Object icons

The Icon.css is a single element which is responsive and pure css icons. There are three types of icons Navigation icons, Action icons, and Object icons. Here in this articles we will know about the Object icons. Spectre Object icons are used on any object related element. 

Spectre Object icons Classes:



Syntax:

<i class="icon Object-icon"></i>

Example: In this example, we will use all the object icons.






<!DOCTYPE html>
<html>
 
<head>
    <title>SPECTRE CSS Buttons Class</title>
    <link rel="stylesheet"
        href=
    <link rel="stylesheet"
        href=
    <link rel="stylesheet"
        href=
</head>
 
<body>
    <center>
        <h1 class="text-success">GeeksforGeeks</h1>
        <strong>SPECTRE Object  icons Class</strong>
        <br><br>
        <div class="container">
            <div>
                Mail:
                <button class="btn btn-success">
                 <i class="icon icon-mail"></i>
                </button>
                People:
                <button class="btn btn-success">
                <i class="icon icon-people"></i>
                </button>
                Message:
                <button class="btn btn-success">
                <i class="icon icon-message"></i>
                </button>
                Photo:
                <button class="btn btn-success">
                <i class="icon icon-photo"></i>
                </button>
            </div>
            <br>
            <div>
                Time:
                <button class="btn btn-success">
                 <i class="icon icon-time"></i>
                </button>
                Location:
                <button class="btn btn-success">
                    <i class="icon icon-location"></i>
                </button>
                Refresh:
                <button class="btn btn-success">
                    <i class="icon icon-refresh"></i>
                </button>
                Emoji:
                <button class="btn btn-success">
                    <i class="icon icon-emoji"></i>
                </button>
            </div>
          </div>
    </center>
</body>
 
</html>

Output:

Spectre Object icons

Reference: https://picturepan2.github.io/spectre/elements/icons.html#icons-object


Article Tags :