123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366 |
- <style>
- body {
- background-color: rgb(237,237,237);
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
- }
- h2 {
- margin: 0;
- }
- p {
- margin: 0;
- }
- header {
- background-color: rgb(237,237,237);
- display: flex;
- width: 100%;
- height: auto;
- position: fixed;
- top: 0px;
- left: 0px;
- padding-bottom: 40px;
- }
- .footer-div {
- background-color: rgb(220,220,220);
- display: flex;
- flex-direction: column;
- width: 1000px;
- height: auto;
- margin: auto;
- }
- .footer-nav-bar {
- text-decoration: none;
- margin: 0px 0px 0px auto;
- }
- .footer-copyright {
- color: rgb(120,120,120);
- margin: 0 10px 20px auto;
- }
- #header-img {
- width: 100%;
- height: 100%;
- max-width: 300px;
- margin: 0 auto 0 0;
- }
-
- #nav-bar {
- position: fixed;
- top: 0px;
- right: 0px;
- margin: 0 0 0 auto;
- display: flex;
- flex-direction: row;
- }
- ul {
- display: flex;
- flex-direction: row;
- list-style: none;
- }
- .nav-link {
- text-decoration: none;
- color: black;
- margin: auto 20px auto 20px;
- }
- .footer-nav-link {
- text-decoration: none;
- color: black;
- margin: auto 15px auto 10px;
- }
- #Login {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-top: 100px;
- }
- #form {
- display: flex;
- flex-direction: column;
- margin: auto;
- align-items: center;
- }
- .btn {
- background-color: rgb(255, 208, 0);
- color: black;
- font-weight: bold;
- border:none;
- font-size: 18px;
- padding: 8px 20px 8px 20px;
- }
- #email {
- border: none;
- width: 300px;
- height: 28px;
- padding: 6px;
- border-radius: 2px;
- }
- .form-margin {
- margin-top: 20px;
- margin-bottom: 20px;
- }
- #features {
- margin: auto;
- }
- #HowItWorks {
- display: flex;
- margin: 20px auto 40px auto;
- }
- #video {
- background-color: aquamarine;
- width: 800px;
- height: 600px;
- margin-left: auto;
- margin-right: auto;
- }
- .features-title {
- font-size: 20px;
- font-weight: bolder;
- }
- .features-item {
- display: flex;
- justify-content: center;
- align-items: center;
- margin: auto;
- }
- .icon {
- width: 30px;
- height: auto;
- margin: 60px;
- }
- #Pricing {
- width: 940px;
- display: grid;
- grid-template-columns: 1fr 1fr 1fr;
- column-gap: 20px;
- margin: 40px auto 40px auto;
- }
- .price-item {
- height: 300px;
- background-color: rgb(237,237,237);
- border-radius: 4px;
- border:2px solid black;
- }
- .item-title {
- text-align: center;
- padding-top: 15px;
- }
- .price-item-bg {
- height: 60px;
- background-color: rgb(220,220,220);
- border-radius: 4px 4px 0 0;
- margin: 2px 2px auto 2px;
- }
- .item-container {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- margin-top: 5px;
- }
- .item-text-margin {
- margin: 5px auto 5px auto;
- }
- .item-btn {
- background-color: rgb(255, 208, 0);
- color: black;
- border:none;
- font-size: 18px;
- padding: 8px 20px 8px 20px;
- margin-top: 10px;
- }
- @media (max-width: 1000px) {
- .footer-div {
- background-color: rgb(220,220,220);
- display: flex;
- flex-direction: column;
- width: 96%;
- height: auto;
- margin: auto;
- }
- }
- @media (max-width: 940px) {
- #Pricing {
- width: 100%;
- display: grid;
- grid-template-columns: 1fr 1fr 1fr;
- column-gap: 20px;
- margin: 40px auto 40px auto;
- }
- }
- @media (max-width: 800px) {
- header {
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- ul {
- display: flex;
- flex-direction: column;
- list-style: none;
- align-items: center;
- }
- #header-img {
- width: 100%;
- height: 100%;
- max-width: 300px;
- margin: auto;
- }
- #nav-bar {
- margin: auto;
- }
- .href-text {
- text-decoration: none;
- color: black;
- margin: auto 40px auto auto;
- }
- }
- </style>
- <header id="header">
- <img id="header-img" src="https://cdn.freecodecamp.org/testable-projects-fcc/images/product-landing-page-logo.png">
- <nav id="nav-bar" class="nav-link">
- <ul>
- <li><a href="#features" class="nav-link">Features</a></li>
- <li><a href="#HowItWorks" class="nav-link">How It Works</a></li>
- <li><a href="#Pricing" class="nav-link">Pricing</a></li>
- </ul>
- </nav>
- </header>
- <main>
- <section id="login">
- <h2>Handcrafted, home-made masterpieces</h2>
- <form id="form" action="https://www.freecodecamp.com/email-submit">
- <input id="email" type="email" name="email" placeholder="Enter your email address" class="form-margin" required>
- <input id="submit" type="submit" value="GET STARTED" class="btn">
- </form>
- </section>
- <section id="features">
- <div class="features-item">
- <div class="features-icon">
- <img src="./img/icon.png" class="icon">
- </div>
- <div class="features-desc">
- <h2>Premium Materials</h2>
- <p>Our trombones use the shiniest brass which is sourced locally. This will increase the longevity of your purchase.</p>
- </div>
- </div>
- <div class="features-item">
- <div class="features-icon">
- <img src="./img/icon.png" class="icon">
- </div>
- <div class="features-desc">
- <h2>Premium Materials</h2>
- <p>Our trombones use the shiniest brass which is sourced locally. This will increase the longevity of your purchase.</p>
- </div>
- </div>
- <div class="features-item">
- <div class="features-icon">
- <img src="./img/icon.png" class="icon">
- </div>
- <div class="features-desc">
- <h2>Premium Materials</h2>
- <p>Our trombones use the shiniest brass which is sourced locally. This will increase the longevity of your purchase.</p>
- </div>
- </div>
- </section>
- <section id="HowItWorks">
- <iframe id="video" src="https://www.bilibili.com/video/BV1Y54y1r7Cg?from=search&seid=3208808148645764628" frameborder="0"></iframe>
- </section>
- <section id="Pricing">
- <div class="price-item">
- <div class="price-item-bg">
- <h2 class="item-title">BASS TROMBONE</h2>
- </div>
- <div class="item-container">
- <h2 class="item-text-margin">$600</h2>
- <p class="item-text-margin">Lorem ipsum.</p>
- <p class="item-text-margin">Lorem ipsum.</p>
- <p class="item-text-margin">Lorem ipsum.</p>
- <p class="item-text-margin">Lorem ipsum.</p>
- <button class="item-btn">SELECT</button>
- </div>
- </div>
- <div class="price-item">
- <div class="price-item-bg">
- <h2 class="item-title">BASS TROMBONE</h2>
- </div>
- <div class="item-container">
- <h2 class="item-text-margin">$600</h2>
- <p class="item-text-margin">Lorem ipsum.</p>
- <p class="item-text-margin">Lorem ipsum.</p>
- <p class="item-text-margin">Lorem ipsum.</p>
- <p class="item-text-margin">Lorem ipsum.</p>
- <button class="item-btn">SELECT</button>
- </div>
- </div>
- <div class="price-item">
- <div class="price-item-bg">
- <h2 class="item-title">BASS TROMBONE</h2>
- </div>
- <div class="item-container">
- <h2 class="item-text-margin">$600</h2>
- <p class="item-text-margin">Lorem ipsum.</p>
- <p class="item-text-margin">Lorem ipsum.</p>
- <p class="item-text-margin">Lorem ipsum.</p>
- <p class="item-text-margin">Lorem ipsum.</p>
- <button class="item-btn">SELECT</button>
- </div>
- </div>
- </section>
- </main>
- <footer>
- <div class="footer-div">
- <nav class="footer-nav-bar">
- <ul>
- <li><a href="#login" class="footer-nav-link">Privacy</a></li>
- <li><a href="#HowItWorks" class="footer-nav-link">Terms</a></li>
- <li><a href="#login" class="footer-nav-link">Contact</a></li>
- </ul>
- </nav>
- <p class="footer-copyright">Copyright 2016, Original Trombones</p>
- </div>
- </footer>
|