Change section height
100vh to 90vh to make title footer
This commit is contained in:
parent
3d8eb13cc7
commit
ec5abc1865
@ -16,7 +16,7 @@ main {
|
||||
|
||||
.section {
|
||||
scroll-snap-align: start;
|
||||
height: 100vh;
|
||||
height: 90vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
@ -152,6 +152,10 @@ footer {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
.lastsection {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.section2::before {
|
||||
background-image: url("https://wallpapers.com/images/hd/integral-project-management-cover-erpo8ef1af3wuquu.jpg");
|
||||
}
|
||||
|
@ -50,7 +50,7 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section section5" id="contact">
|
||||
<section class="section section5 lastsection" id="contact">
|
||||
<div class="content">
|
||||
<h2>Contact</h2>
|
||||
<p>Email: you@example.com<br />Mastodon / GitHub / etc.</p>
|
||||
|
@ -1,5 +1,6 @@
|
||||
@use "about/base";
|
||||
@use "about/section1";
|
||||
@use "about/section5";
|
||||
|
||||
.section2 {
|
||||
&::before {
|
||||
|
@ -18,7 +18,7 @@ main {
|
||||
|
||||
.section {
|
||||
scroll-snap-align: start;
|
||||
height: 100vh;
|
||||
height: 90vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
3
scss/about/_section5.scss
Normal file
3
scss/about/_section5.scss
Normal file
@ -0,0 +1,3 @@
|
||||
.lastsection {
|
||||
height: 100vh;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user