Modesta v4.0.0

Fullscreen

A full-height landing section with a blurred background and a centred title. Set the background image on background yourself.

ClassDescription
fullscreenSection as tall as its container, usually the whole window
fullscreen.halfShorter background and smaller title
backgroundThe blurred, darkened background image
center-objectCentres its content over the background
meTitle block, stacked vertically
me.unsetPuts the image beside the text instead of above it, wrap the text in another unset
image-titleRound avatar image
image-title.large-borderLarge rounded corners instead of a circle
image-title.medium-borderMedium rounded corners
image-title.small-borderSmall rounded corners
image-title.no-borderSquare image
titleLarge heading
undertitleSmaller line below the title
arrowScroll hint pinned to the bottom of the section
arrow--scrolledFades the arrow out, add it with JavaScript once the visitor scrolls
bounceMakes an element bounce forever
<div class="fullscreen">
  <div class="background" style="background-image: linear-gradient(135deg, #7289da, #1abc9c)"></div>
  <div class="center-object">
    <div class="me">
      <div class="image-title sun-flower-bg"></div>
      <h1 class="title">Hello</h1>
      <p class="undertitle">Welcome to my site</p>
    </div>
  </div>
  <div class="arrow bounce" style="text-align: center; font-size: 2em">↓</div>
</div>

Source: scss/components/objects/_fullscreen.scss