content-device-mobile
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="M11.5 1h-7c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5h7c.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="M5 3h6v9H5z"/><path fill="#FFF" d="M5 3h6v1H5z" 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="M11.5 1h-7c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5h7c.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="M5 3h6v9H5z"/><path fill="#FFF" d="M5 3h6v1H5z" 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-mobile" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="content-device-mobile" 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='M11.5 1h-7c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5h7c.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='M5 3h6v9H5z'/%3e%3cpath fill='%23FFF' d='M5 3h6v1H5z' 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-mobile;
}