actions-aspect-ratio
Tags: crop, proportions, dimensions, resize, image size, frame
Introduced in v4.4.0
Available in TYPO3
Buttons
Usage
Icon Identifier
actions-aspect-ratioMarkup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g fill="currentColor"><path d="M13 4c.551 0 1 .449 1 1v6c0 .551-.449 1-1 1H3c-.551 0-1-.449-1-1V5c0-.551.449-1 1-1zm0-1H3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"/><path d="M6 5H3.5a.5.5 0 0 0-.5.5V8h1V6h2zM12 8v2h-2v1h2.5a.5.5 0 0 0 .5-.5V8z"/></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="M13 4c.551 0 1 .449 1 1v6c0 .551-.449 1-1 1H3c-.551 0-1-.449-1-1V5c0-.551.449-1 1-1zm0-1H3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"/><path d="M6 5H3.5a.5.5 0 0 0-.5.5V8h1V6h2zM12 8v2h-2v1h2.5a.5.5 0 0 0 .5-.5V8z"/></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?v=1794104800428#actions-aspect-ratio" /></svg>
</span>
</span>TYPO3 ViewHelper
<core:icon identifier="actions-aspect-ratio" size="small" />TYPO3 Web Component
<typo3-backend-icon identifier="actions-aspect-ratio" 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%3cg fill='%23fff'%3e%3cpath d='M13 4c.551 0 1 .449 1 1v6c0 .551-.449 1-1 1H3c-.551 0-1-.449-1-1V5c0-.551.449-1 1-1zm0-1H3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2'/%3e%3cpath d='M6 5H3.5a.5.5 0 0 0-.5.5V8h1V6h2zM12 8v2h-2v1h2.5a.5.5 0 0 0 .5-.5V8z'/%3e%3c/g%3e%3c/svg%3e");
}Sass Background Variable
@use "@typo3/icons/dist/icons" as *;
@use "@typo3/icons/dist/scss/icons-variables-actions" as *;
.myclass {
background-size: 1em 1em;
background-image: $icon-actions-aspect-ratio;
}Download