content-device-tablet

Introduced in v2.3.2
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"><path fill="#323232" d="M12.5 1h-9c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5v-13c0-.3-.2-.5-.5-.5z"/><path fill="#FFF" d="M9 13.8c0 .1-.1.2-.2.2H7.3c-.2 0-.3-.1-.3-.2v-.5c0-.2.1-.3.3-.3h1.5c.1 0 .2.1.2.3v.5z" opacity=".15"/><path fill="#59F" d="M4 2h8v10H4z"/><path fill="#FFF" d="M4 2h8v1H4z" opacity=".15"/></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"><path fill="#323232" d="M12.5 1h-9c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5v-13c0-.3-.2-.5-.5-.5z"/><path fill="#FFF" d="M9 13.8c0 .1-.1.2-.2.2H7.3c-.2 0-.3-.1-.3-.2v-.5c0-.2.1-.3.3-.3h1.5c.1 0 .2.1.2.3v.5z" opacity=".15"/><path fill="#59F" d="M4 2h8v10H4z"/><path fill="#FFF" d="M4 2h8v1H4z" opacity=".15"/></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/content.svg#content-device-tablet" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="content-device-tablet" 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%3cpath fill='%23323232' d='M12.5 1h-9c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5v-13c0-.3-.2-.5-.5-.5z'/%3e%3cpath fill='%23FFF' d='M9 13.8c0 .1-.1.2-.2.2H7.3c-.2 0-.3-.1-.3-.2v-.5c0-.2.1-.3.3-.3h1.5c.1 0 .2.1.2.3v.5z' opacity='.15'/%3e%3cpath fill='%2359F' d='M4 2h8v10H4z'/%3e%3cpath fill='%23FFF' d='M4 2h8v1H4z' opacity='.15'/%3e%3c/svg%3e");
}

Sass Background Variable

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

.myclass {
    background-size: 1em 1em;
    background-image: $icon-content-device-tablet;
}

Download

Download