actions-graduation-cap

Tags: hat, university
Introduced in v2.3.0
Available in TYPO3 11.5

Buttons

Button Label Button Label

Button Label Button Label

Usage

Markup

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g fill="currentColor"><path d="M15.366 6.604 8.284 2.177a.501.501 0 0 0-.556.017l-6.12 4.371a.5.5 0 0 0 .026.831L2 7.625V11h1V8.25l1 .625v2.342a.5.5 0 0 0 .243.429l4.479 2.687a.493.493 0 0 0 .544-.02l4.551-3.194a.5.5 0 0 0 .213-.413l-.018-2.286 1.38-.986a.5.5 0 0 0-.026-.83zm-2.339 3.848-4.07 2.856L5 10.934V9.5l3.716 2.323a.496.496 0 0 0 .556-.017l3.745-2.675.01 1.321zm-4.064.346L2.798 6.945l5.239-3.742 6.165 3.853-5.239 3.742z"/></g></svg>

Inline

<span class="icon icon-size-small icon-state-default">
    <span class="icon-markup">
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g fill="currentColor"><path d="M15.366 6.604 8.284 2.177a.501.501 0 0 0-.556.017l-6.12 4.371a.5.5 0 0 0 .026.831L2 7.625V11h1V8.25l1 .625v2.342a.5.5 0 0 0 .243.429l4.479 2.687a.493.493 0 0 0 .544-.02l4.551-3.194a.5.5 0 0 0 .213-.413l-.018-2.286 1.38-.986a.5.5 0 0 0-.026-.83zm-2.339 3.848-4.07 2.856L5 10.934V9.5l3.716 2.323a.496.496 0 0 0 .556-.017l3.745-2.675.01 1.321zm-4.064.346L2.798 6.945l5.239-3.742 6.165 3.853-5.239 3.742z"/></g></svg>
    </span>
</span>

Sprite

<span class="icon icon-size-small icon-state-default">
    <span class="icon-markup">
        <svg role="img"><use xlink:href="dist/sprites/actions.svg#actions-graduation-cap" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="actions-graduation-cap" size="small" />

CSS Background Image

.myclass {
    background-size: 1em 1em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cg fill='%23fff'%3e%3cpath d='M15.366 6.604 8.284 2.177a.501.501 0 0 0-.556.017l-6.12 4.371a.5.5 0 0 0 .026.831L2 7.625V11h1V8.25l1 .625v2.342a.5.5 0 0 0 .243.429l4.479 2.687a.493.493 0 0 0 .544-.02l4.551-3.194a.5.5 0 0 0 .213-.413l-.018-2.286 1.38-.986a.5.5 0 0 0-.026-.83zm-2.339 3.848-4.07 2.856L5 10.934V9.5l3.716 2.323a.496.496 0 0 0 .556-.017l3.745-2.675.01 1.321zm-4.064.346L2.798 6.945l5.239-3.742 6.165 3.853-5.239 3.742z'/%3e%3c/g%3e%3c/svg%3e");
}

Sass Background Variable

@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-actions.scss";

.myclass {
    background-size: 1em 1em;
    background-image: $icon-actions-graduation-cap;
}

Download

Download