You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
382 B
20 lines
382 B
/**
|
|
* <div class="hero">
|
|
* <img src="image.png" alt="image" />
|
|
* </div>
|
|
*
|
|
* @author Björn Hase, Tentakelfabrik
|
|
* @license http://opensource.org/licenses/MIT The MIT License
|
|
* @link https://github.com/tentakelfabrik/plain-ui
|
|
*
|
|
*/
|
|
|
|
.hero {
|
|
position: relative;
|
|
|
|
img {
|
|
width: 100%;
|
|
object-fit: cover;
|
|
object-position: 50% 50%;
|
|
}
|
|
} |