Created
December 28, 2022 05:58
-
-
Save SreemaanKCKS/b5f403092d46addba3ab0dcc3cc0e424 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#section1 { | |
display: flex; | |
justify-content: center; | |
padding-top: 50px; | |
} | |
#section2 { | |
display: flex; | |
justify-content: center; | |
padding-top: 50px; | |
} | |
.parallax1 { | |
background: url("section1.jpg"); | |
height: 100vh; | |
background-repeat: no-repeat; | |
background-attachment: fixed; | |
background-position: center; | |
background-size: cover; | |
} | |
.parallax2{ | |
background-image: url("section2.jpg"); | |
position: relative; | |
height: 800px; | |
background-repeat: no-repeat; | |
background-attachment: fixed; | |
background-position: center; | |
background-size: cover; | |
} | |
.content{ | |
padding: 4rem 0 1rem; | |
background: linear-gradient(109.6deg, #91EAE4 11.2%,#86A8E7 100.2%); | |
cursor: default; | |
} | |
h1{ | |
display: flex; | |
justify-content: center; | |
margin: 0 auto 30px; | |
border: 2px solid white; | |
border-radius: 25px; | |
max-width: 300px; | |
color: white; | |
background: linear-gradient(109.6deg, rgb(255, 78, 80) 11.2%, rgb(249, 212, 35) 100.2%); | |
padding: 1rem; | |
} | |
h3{ | |
max-width: 500px; | |
margin: 0 auto 40px; | |
text-align: center; | |
letter-spacing: 1px; | |
color: #4f3267; | |
} | |
h4{ | |
margin: 0; | |
text-align: center; | |
} | |
footer{ | |
background: rgb(246, 239, 246); | |
padding: 3rem; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment