HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/wingssprayer.komma.pro/resources/sass/6-Organisms/_organisms.hero.scss
$o-hero-bp1: 830;

.o-hero {
  position: relative;
}


.o-hero__figure {
  /*
   * We need "overflow: hidden" here because we want to
   * limit the height. We can't set it on the root block element,
   * because there can be an ornament sticking out the bottom.
  */
  max-height: 480px;
  overflow: hidden;
}


.o-hero__img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
}


@include mq($o-hero-bp1) {
  .o-hero--has-ornament {
    &::after {
      content: '';
      position: absolute;
      right: 0;
      bottom: 0;
      width: 72px;
      height: 120px;
      background-image: url(/img/ornaments/ornament-1.svg);
      transform: translateY(50%);
    }
  }
}