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

              
                <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
    <link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> 
     
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
    <a href="#" class="navbar-brand"><i class="fa fa-book"></i>Original Stories</a>
    <button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbarCollapse">
        <span class="navbar-toggler-icon"></span>
    </button>

    <div class="collapse navbar-collapse" id="navbarCollapse">
        <div class="navbar-nav">
            <a href="#" class="nav-item nav-link active">Home</a>
            <a href="#services" class="nav-item nav-link">Services</a>
            <a href="#pricing" class="nav-item nav-link">Pricing</a>
        </div>
        <form class="form-inline ml-auto">
            <input type="text" class="form-control mr-sm-2" placeholder="Search">
            <button type="submit" class="btn btn-outline-light">Search</button>
        </form>
    </div>
</nav>
<div class="container">
<div class="row pt-5">
    <div class="col-md-3"></div>
    <div class="col-md-7">
        <div class="img-fluid">
            <img src="https://seekcdn.com/skl/images/studying/body%20images/writing-cover-letter-body-image.jpg">
        </div>
    </div>
    <div class="col-md-2"></div>
</div>

<div class="row" id="services">
    <div class="col-md-2"></div>
    <div class="col md-8">
        <h2><i class="fa fa-fire">Premium writers</i></h2>
        <p class="font-weight-bolder font-italic h5">Our writers are experienced and professional and will cater to
            your every need.</p>
        <h2 class="pt-4"><i class="fa fa-truck">Fast delivery</i></h2>
        <p class="font-weight-bolder font-italic h5">Your service will be delivered as fast as possible!</p>
        <h2 class="pt-4"><i class="fa fa-phone">Customer support</i></h2>
        <p class="font-weight-bolder font-italic h5">We are available for support 24/7!</p>
    </div>
</div>
<div class="row pl-5 pt-5" id="pricing">
    <div class="col-md-4">
        <div class="card d-flex">
            <div class="alert-danger card-header align-items-center d-flex justify-content-center">
                <h3>Starter pack</h3>
            </div>
            <div class="badge-success card-body align-items-center">
                <h4 class="text-center">$300</h4>
                <p>Lorem ipsum dopsum</p>
                <p>Lorem ipsum dopsum</p>
                <p>Lorem ipsum dopsum</p>
                <div class="card-footer badge-success">
                    <button class="btn btn-info btn-block inline">Order</button>
                </div>
            </div>
        </div>
    </div>
    <div class="col-md-4">
        <div class="card d-flex">
            <div class="alert-danger card-header align-items-center d-flex justify-content-center">
                <h3>Advaned pack</h3>
            </div>
            <div class="badge-success card-body align-items-center">
                <h4 class="text-center">$500</h4>
                <p>Lorem ipsum dopsum</p>
                <p>Lorem ipsum dopsum</p>
                <p>Lorem ipsum dopsum</p>
                <div class="card-footer badge-success">
                    <button class="btn btn-info btn-block inline">Order</button>
                </div>
            </div>
        </div>
    </div>
    <div class="col-md-4">
        <div class="card d-flex">
            <div class="alert-danger card-header align-items-center d-flex justify-content-center">
                <h3>Premium pack</h3>
            </div>
            <div class="badge-success card-body align-items-center">
                <h4 class="text-center">$800</h4>
                <p>Lorem ipsum dopsum</p>
                <p>Lorem ipsum dopsum</p>
                <p>Lorem ipsum dopsum</p>
                <div class="card-footer badge-success">
                    <button class="btn btn-info btn-block inline">Order</button>
                </div>
            </div>
        </div>
    </div>
</div>

</div>
<footer class="footer mt-4">
    <p class="text-white">&copy; Original Stories Inc.</p>
    <p class="text-white">Terms &amp;Conditions</p>
    <p class="text-white">About Us</p>
</footer>
              
            
!

CSS

              
                 footer p{
            display: inline;
            padding: 30px;
        }
        footer{
            text-align: center;
            background: coral;
            padding: 10px;
        }
        body{
            background-color:cornsilk;
        }
        .card {
            width: 250px;
        }
img{
  max-width:100%;
  height:auto;
}
              
            
!

JS

              
                
              
            
!
999px

Console