Lock hero headline lines
This commit is contained in:
@@ -23,7 +23,10 @@
|
|||||||
alt=""
|
alt=""
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
/>
|
/>
|
||||||
<h1 class="section-title section-title--hero">Von der Idee zur<br />Wirkung</h1>
|
<h1 class="section-title section-title--hero">
|
||||||
|
<span class="hero__line">Von der Idee zur</span>
|
||||||
|
<span class="hero__line">Wirkung</span>
|
||||||
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
<button class="button button--dark" type="button" data-open-contact>
|
<button class="button button--dark" type="button" data-open-contact>
|
||||||
Lass uns starten
|
Lass uns starten
|
||||||
|
|||||||
@@ -142,11 +142,16 @@ button {
|
|||||||
.section-title--hero {
|
.section-title--hero {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
max-width: 6ch;
|
max-width: none;
|
||||||
font-size: clamp(4rem, 5.15vw, 5.2rem);
|
font-size: clamp(4rem, 5.15vw, 5.2rem);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hero__line {
|
||||||
|
display: block;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
.hero__scribble {
|
.hero__scribble {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user