Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's 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 it's URL and the proper URL extention.

+ 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

Save Automatically?

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

              
                <!--------------------------Home Page Section Start---------------------------------->

    <header>
        <div class="overlay"></div>
        <div class="container">
            <div class="homepage-text">
                <h1 class="display-4">Welcome to Versai Masters</h1>
                <p class="lead">The most innovative mastering solution for <span class="under">every genre</span></p>
                <a href="#about-section" role="button" class="btn btn-dark btn-lg">Get Started</a>
            </div>
        </div>
    </header>

    <!--------------------------Home Page Section End---------------------------------->

    <!--------------------------About Section Start------------------------------------>

    <div id="about-section">
        <div class="container">
                    <div class="jumbotron">
                            <hr class="hr-1">
                            <h1 class="display-4">A Little About Our Studio</h1>
                            <hr class="hr-1">
                            <p class="lead">We believe that every genre of music deserves special attention and recognition. At <span class="name-special">Versai Masters</span> it is our mission to provide your music with the attention and recognition that it deserves!</p>
                            <hr class="my-4">
                            <p>Every sound, sample, and vocal is meticulously perfected by our professional team of sound engineers. We are not happy until you are happy. Unlimited revisions and mix-down alterations are <em>free of charge</em>. That is our promise.</p>
                            <p class="heard-enough">Heard Enough?</p>
                            <a class="btn btn-dark" href="#" role="button">Connect</a>
                            
                   
                    </div>
            
        </div>
    </div>

    <!--------------------------About Section End-------------------------------------->
              
            
!

CSS

              
                header {
    background-image: url(../img/homepage.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    width: 100%;
    position: relative;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    background-color: rgba(0, 0, 0, 0.788);
    
}

.under {
    text-decoration: underline;
}

.homepage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-transform: capitalize;
}


.display-4 {
    margin-bottom: 2rem;
}

.homepage-text p {
    margin-bottom: 2rem;
}

.btn-dark {
    background: #870d4c;
}

#about-section {
    background-image: url(https://images.pexels.com/photos/92080/pexels-photo-92080.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
}

.jumbotron h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.jumbotron {
    margin-top: 1.5rem;
    background: rgba(214, 212, 212, 0.733);
} 

.hr-1 {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #bb4678;
    margin: 0 auto 1rem auto;
    padding: 0; 
    width: 30%;
}

@media (max-width: 568px) {
    header {
        background-attachment: scroll;
    }
}
              
            
!

JS

              
                
              
            
!
999px

Console