A Pen by Timeo Williams on CodePen.
Created
June 24, 2022 18:09
-
-
Save timeowilliams/379f42b08f836eb9bc4b51a6449cac26 to your computer and use it in GitHub Desktop.
Coming Soon Part 2 - Customer Request
This file contains hidden or 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
| <div class="all-container"> | |
| <img id="logo" src="https://assets.codepen.io/6060109/2560px-Adidas_Logo+1.png"> | |
| <div id="shoe-mobile"> | |
| </div> | |
| <div class="all-content-container"> | |
| <div class="text-content-container"> | |
| <h2>We're</h2> | |
| <h2>Coming Soon</h2> | |
| <p>Hello friends! We are currently building our new sports and comfort clothing store. Add your email address below to stay up-to-date with announcements and our launch proposals.</p> | |
| </div> | |
| <form> | |
| <input type="text" placeholder="Email Address"> | |
| <input type="submit" value=">"> | |
| </form> | |
| </div> | |
| </div> | |
| <div class="desktop-image"> | |
| </div> |
This file contains hidden or 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
| @font-face { | |
| font-family: 'AdiHaus'; | |
| src: URL('https://assets.codepen.io/6060109/adihaus_regular.ttf') format('truetype'); | |
| font-weight: normal; | |
| font-style: normal; | |
| } | |
| @font-face { | |
| font-family: "AdiHaus"; | |
| src: url("https://assets.codepen.io/6060109/adihaus_bold.ttf") format("truetype"); | |
| font-weight: bold; | |
| font-style: normal; | |
| } | |
| body, html { | |
| min-width: 100%; | |
| min-height: 100vh; | |
| margin: 0; | |
| font-family: AdiHaus; | |
| } | |
| body { | |
| display: flex; | |
| background-image: url('https://assets.codepen.io/6060109/waves.png'); | |
| } | |
| .all-container { | |
| max-width: 450px; | |
| margin: 0 auto; | |
| } | |
| #logo { | |
| margin: 15px auto; | |
| display: block; | |
| } | |
| #shoe-mobile { | |
| background: url("https://assets.codepen.io/6060109/mobile-shoes.jpg") no-repeat right center; | |
| background-size: cover; | |
| height: 250px; | |
| width: 100%; | |
| } | |
| .all-content-container { | |
| padding: 20px 30px; | |
| } | |
| .text-content-container { | |
| width: 100%; | |
| text-align: center; | |
| } | |
| h2, p { | |
| margin: 0; | |
| } | |
| h2 { | |
| font-size: 48px; | |
| letter-spacing: 5px; | |
| text-transform: uppercase; | |
| } | |
| p { | |
| line-height: 28px; | |
| margin: 20px 0 40px; | |
| color: #333333; | |
| } | |
| h2:nth-of-type(1) { | |
| color: #038cfc; | |
| font-weight: 400; | |
| margin-bottom: 10px; | |
| } | |
| h2:nth-of-type(2) { | |
| color: #423A3A | |
| } | |
| form { | |
| display: flex; | |
| } | |
| input[type="text"] { | |
| width: 75%; | |
| padding: 0 20px; | |
| height: 50px; | |
| box-sizing: border-box; | |
| } | |
| input[type="submit"] { | |
| width: 20%; | |
| height: 50px; | |
| box-sizing: border-box; | |
| background: rgb(95,95,102); | |
| background: linear-gradient(90deg, rgba(95,95,102,1) 0%, rgba(64,59,59,1) 100%); | |
| font-weight: 700; | |
| font-size: 16px; | |
| color: white; | |
| border: none; | |
| } | |
| .desktop-image { | |
| display: none; | |
| } | |
| /* Medium devices (landscape tablets, 768px and up) */ | |
| @media only screen and (min-width: 768px) { | |
| .all-container { | |
| width: 50%; | |
| } | |
| .text-content-container { | |
| text-align: left; | |
| } | |
| #shoe-mobile { | |
| display: none; | |
| } | |
| #logo { | |
| margin: 30px 30px 100px; | |
| display: block; | |
| } | |
| .desktop-image { | |
| display: block; | |
| width: 40%; | |
| background: url('https://assets.codepen.io/6060109/shoes.png'); | |
| background-size: cover; | |
| border: #03a1fc solid 1px; | |
| } | |
| h2 { | |
| font-size: 50px; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment