Hero

The hero is used on every page to show at which page you are. It's made of a title and an image.

Default

px

			
				<div class="m-hero m-hero--inverted js-m-hero">
	<div class="m-hero__background"></div>
	<div class="m-hero__image-container">
		<div class="m-hero__image" style="background-image: url('/assets/images/header/recycleren.jpg')"></div>
	</div>
	<div class="m-hero__content-container">
		<div class="m-hero__content">
			<h1 class="m-hero__title">Recycleren</h1>
			<h3 class="m-hero__subtitle">Wat kan je doen met jouw gebruikte batterijen?</h3>
			<p class="m-hero__text">Lorem ipsum doler sit amet</p>
		</div>
	</div>
</div>
			

		

Documentation

Modifiers

  • m-hero--inverted

    This modifier will put the text in a white color.

  • m-hero--placeholder

    This will give the hero component a placeholder background and hide the gradient