HERO MODULE WITH FLEXBOX AND THE ‘VH’ UNIT

Author:

  • Wouter van der Zee
  • December 1, 2017

Made with:

  • HTML / CSS (SCSS)

About the code:

The hero is a widely used module. This version is created with modern techniques like flexbox and the vh unit. Flexbox and the vh unit makes it possible to create this module with less code.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: –

Download Demo and Code