content-special-html
Tags: code, markup, source code, custom code, angle brackets, content element
Introduced in v1.0.0
Available in TYPO3
Buttons
Usage
Icon Identifier
content-special-htmlMarkup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#fff" d="M1 1h14v14H1z"/><path fill="#999" d="M1 1v14h14V1zm1 1h12v12H2z"/><path fill="#f16529" d="M7.25 12 3 8.682V7.318L7.25 4v1.716l-2.975 2.29 2.974 2.278zM13 8.682 8.75 12v-1.716L11.726 8 8.75 5.716V4L13 7.318z"/></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="#fff" d="M1 1h14v14H1z"/><path fill="#999" d="M1 1v14h14V1zm1 1h12v12H2z"/><path fill="#f16529" d="M7.25 12 3 8.682V7.318L7.25 4v1.716l-2.975 2.29 2.974 2.278zM13 8.682 8.75 12v-1.716L11.726 8 8.75 5.716V4L13 7.318z"/></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?v=1792707318708#content-special-html" /></svg>
</span>
</span>TYPO3 ViewHelper
<core:icon identifier="content-special-html" size="small" />TYPO3 Web Component
<typo3-backend-icon identifier="content-special-html" size="small"></typo3-backend-icon>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='%23fff' d='M1 1h14v14H1z'/%3e%3cpath fill='%23999' d='M1 1v14h14V1zm1 1h12v12H2z'/%3e%3cpath fill='%23f16529' d='M7.25 12 3 8.682V7.318L7.25 4v1.716l-2.975 2.29 2.974 2.278zM13 8.682 8.75 12v-1.716L11.726 8 8.75 5.716V4L13 7.318z'/%3e%3c/svg%3e");
}Sass Background Variable
@use "@typo3/icons/dist/icons" as *;
@use "@typo3/icons/dist/scss/icons-variables-content" as *;
.myclass {
background-size: 1em 1em;
background-image: $icon-content-special-html;
}Download