Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                    <body>
        <header id="header">
            <div class="logo">
                <img id="header-img" src="https://i.postimg.cc/xCj2QkNg/Wallet.png" alt="Wallet logo">
            </div>
            <nav id="nav-bar">
                <ul>
                    <li class="nav-button"><a class="nav-link" href="#materials">Materials</a>
                    </li>
                    <li class="nav-button"><a class="nav-link" href="#shipping">Shipping</a>
                    </li>
                    <li class="nav-button"><a class="nav-link" href="#quality-assurance">Quality Assurance</a>
                    </li>
                </ul>
            </nav>
        </header>

        <div id="wrapper">
            <section id="first">
                <div id="title">
                    <h1 class="title-class">Indestructable hardware wallets.</h1>
                    <h1 id="always" class="title-class">Always.</h1>
                </div>
                <form id="form" action="https://www.freecodecamp.com/email-submit">
                    <input name="email" id="email" type="email" placeholder="Enter your email address" required />
                    <input id="submit" type="submit" value="" class="btn" />
                </form>
                <div id="bloom">
                    <div class="index_bloom"
                        style="transform: scale(1); background: radial-gradient(circle, rgba(40, 126, 222, 0.55) 0%, rgba(40, 126, 222, 0.35) 30%, rgba(40, 126, 222, 0) 70%); right: 0;">
                    </div>
                    <div class="index_bloom_1"
                        style="transform: scale(1); background: radial-gradient(circle, rgba(54, 170, 199, 0.55) 0%, rgba(54, 170, 199, 0.35) 30%, rgba(54, 170, 199, 0) 70%); left: 0;">
                    </div>
                </div>
            </section>

            <div class="container">
                <section id="features">
                    <div class="grid">
                        <div class="icon">
                            <text id="materials">💎</text>
                            <div class="desc">
                                <h2>Premium Materials</h2>
                                <p>
                                    Our wallets are made of the finest materials sourced locally in the United
                                    States.
                                    Sleep soundly knowing your crypto is safe behind fire and water resistant
                                    titanium
                                    alloy.
                                </p>
                            </div>
                        </div>
                    </div>
                    <div class="grid">
                        <div class="icon">
                            <text id="truck">🚚</text>
                            <div class="desc">
                                <h2>Fast Shipping</h2>
                                <p>
                                    We make sure you recieve your wallet as quickly as possible.
                                    We also provide free returns if you are not satisfied.
                                </p>
                            </div>
                        </div>
                    </div>
                    <div class="grid">
                        <div class="icon"><text id="diamond">🤝</text>
                            <div class="desc">
                                <h2>Quality Assurance</h2>
                                <p>
                                    We personally guarantee each of our wallets exceed our quality standards.
                                </p>
                            </div>
                        </div>
                    </div>
                </section>
                <section id="how-it-works">

                    <div id="iframe-wrapper">
                        <iframe id="video" width="560" height="315" src="https://www.youtube.com/embed/NUS5si0d-fo"
                            title="YouTube video player" frameborder="0"
                            allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
                            allowfullscreen></iframe>
                    </div>
                </section>
                <section id="pricing">
                    <div class="product" id="s">
                        <div class="level">S</div>
                        <div class="img_container">
                            <img class="ledger" alt="wallet image"
                                src="https://cdn.shopify.com/s/files/1/2974/4858/products/02_4_large.png?v=1647271638" />
                        </div>
                        <h2 class="price">$79.00</h2>
                        <ol>
                            <li class="details">Up to 100 apps</li>
                            <li class="details">128x64 px screen</li>
                            <li class="details">NFTs managing</li>
                            <li class="details">Waterproof</li>

                        </ol>
                        <button class="bottom-btn">Add to Cart</button>
                    </div>
                    <div class="product" id="nano-s">
                        <div class="level">Nano S</div>
                        <div class="img_container">
                            <img class="ledger" alt="wallet image"
                                src="https://cdn.shopify.com/s/files/1/2974/4858/products/02_4_large.png?v=1647271638" />
                        </div>
                        <h2 class="price">$109.00</h2>
                        <ol>
                            <li class="details">Up to 100 apps</li>
                            <li class="details">128x64 px screen</li>
                            <li class="details">NFTs managing</li>
                            <li class="details">Bluetooth connection</li>
                        </ol>
                        <button class="bottom-btn">Add to Cart</button>
                    </div>
                    <div class="product" id="nano-s-plus">
                        <div class="level">Nano S Plus</div>
                        <div class="img_container">
                            <img class="ledger" alt="wallet image"
                                src="https://cdn.shopify.com/s/files/1/2974/4858/products/02_4_large.png?v=1647271638" />
                        </div>
                        <h2 class="price">$149.00</h2>
                        <ol>
                            <li class="details">Up to 100 apps</li>
                            <li class="details">128x64 px screen</li>
                            <li class="details">NFTs managing</li>
                            <li class="details">Developer menu</li>
                        </ol>
                        <button class="bottom-btn">Add to Cart</button>
                    </div>
                </section>
            </div>
        </div>
        <footer>
            <span id="copyright">This page is for educational purposes only.</span>
            <ul>
                <li><a class="footer-links" href="#">Privacy</a></li>
                <li><a class="footer-links" href="#">Terms</a></li>
                <li><a class="footer-links" href="#">Contact</a></li>
            </ul>
        </footer>
    </body>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@600&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

* {
    font-family: 'Inter Tight', sans-serif;
    box-sizing: border-box;
}

#wrapper {
    position: relative;
    margin-top: 100px;
}

#header {
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    top: 0;
    height: 15vh;
    background-color: aliceblue;
    padding: 0px 20px;
    z-index: 2;
    border-bottom: 1px solid #36a5ff25;
}

nav {
    display: flex;
    box-sizing: border-box;
    align-items: center;
}

.logo {
    width: 50vw;
}

#header-img {
    width: 180px;
    height: 120px;
}

#wrapper {
    margin-top: 60px;
}

a {
    font-weight: 500;
    font-size: 1vw;
    color: aliceblue;
    text-decoration: none;
    letter-spacing: 0.06em;
    line-height: 150%;
}

nav>ul {
    padding-left: 0;
    padding-right: 35px;
    display: flex;
    width: 50vw;
    list-style-type: none;
    justify-content: space-around;
}

.nav-link {
    list-style-type: none;
}

nav li {
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
    display: list-item;
    background-image: linear-gradient(64deg, #36beff 17%, #733ff1);
    border-radius: 51px;
    font-family: 'Public Sans', sans-serif;
    cursor: pointer;
    outline: none;
    transition: transform 0s linear, box-shadow
}

.nav-button:hover {
    box-shadow: 15px 15px 30px #c7c7c7,
        -15px -15px 30px #f9f9f9;
}

.nav-button:active {
    transform: scale(0.98);
    box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24);
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

#form {
    align-items: center;
    margin-top: 9vh;
}

#submit {
    position: absolute;
    margin-left: 20px;
    margin-top: 12px;
    border: none;
    background-color: transparent;
    background-image: url(https://assets-global.website-files.com/5f973c970bea5548ad4287ef/62c700d4e10c1f03508b1c19_button-arrow.svg);
    background-position: right 50% bottom 50%;
    background-size: auto;
    background-repeat: no-repeat;
    cursor: pointer;
}


#first {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 20vh;
    margin-top: 25vh;
    margin-bottom: 20vh;
}

.title-class {
    font-size: inherit;
}

#title {
    display: flex;
    align-items: center;
    font-size: 8vh;
    color: rgb(28, 28, 28);
    font-weight: 900;
    height: 5vh;
}

#details {
    background-color: rgba(128, 128, 128, 0.865);
}

#email {
    height: .7vw;
    padding: 20px;
    border-image-slice: 1;
    border-radius: 50px;
    border: 2px solid #002aff8b;
    width: 15vw;
}

#always {
    padding-left: 9px;
    background-image: linear-gradient(300deg, #36beff, #733ff1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#pricing {
    margin-top: 30px;
    margin-bottom: 200px;
    display: flex;
    justify-content: space-around;
}

#how-it-works {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.desc {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.icon {
    display: flex;
    align-items: center;
}

text {
    font-size: 70px;
    padding-bottom: 60px;
    padding-right: 30px;
}

h2 {
    margin: 0;
    margin-top: 10px;
}

p {
    margin-top: 10px;
}

#features {
    background: aliceblue;
    padding: 50px;
    padding-top: 40px;
    padding-bottom: 20px;
    border-radius: 50px;
    border: 1px solid rgba(175, 193, 219, 1);
}

iframe {
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.53);
}

#iframe-wrapper {
    padding: 20px;
    margin-top: 100px;
    margin-bottom: 100px;
    background: rgba(227, 239, 255, 0.886);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.3px);
    -webkit-backdrop-filter: blur(3.3px);
    border: 1px solid rgba(175, 193, 219, 1);
}

.product {
    background: aliceblue;
    padding: 30px;
    background: rgba(227, 239, 255, 0.886);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.3px);
    -webkit-backdrop-filter: blur(3.3px);
    border: 1px solid rgba(175, 193, 219, 1);
}

.level {
    margin-bottom: 30px;
    font-size: 30px;
    background-image: linear-gradient(300deg, #36beff, #733ff1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ledger {
    background-color: #f9f9f9;
    width: 200px;
    border-radius: 30px;
    border: 1px solid rgba(175, 193, 219, 1);
}

.price {
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 1.5px solid #2d424d6f;
}

.details {
    padding: 4px
}

.bottom-btn {
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
    margin-left: 40px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 200;
    color: white;
    border: none;
    background-image: linear-gradient(64deg, #36beff 17%, #733ff1);
    border-radius: 51px;
    cursor: pointer;
    transition: transform 0s linear, box-shadow
}

.bottom-btn:hover {
    box-shadow: 15px 15px 30px #c7c7c7,
        -15px -15px 30px #f9f9f9;
}

.bottom-btn:active {
    transform: scale(0.98);
    box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24);
}

footer {
    display: flex;
    background-color: aliceblue;
    width: 100%;
    border: 1px solid rgba(175, 193, 219, 1);
    height: 75px;
    align-items: center;
}

footer>ul {
    display: flex;
    position: absolute;
    right: 10px;
    align-items: center;
    font: black;
}

.footer-links {
    color: black;
    padding-right: 100px;
}

.footer-links:hover {
    box-shadow: none;
}

#copyright {
    margin-left: 20px;
}

#bloom {
    overflow: hidden;
    max-width: 100%;
}

.index_bloom {
    transform: none;
    height: 1000px;
    width: 1000px;
    position: absolute;
    z-index: -1;
}

.index_bloom_1 {
    transform: none;
    height: 1000px;
    width: 1000px;
    position: absolute;
    z-index: -1;
}
              
            
!

JS

              
                
              
            
!
999px

Console