css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <header class="site-header">
    <div class="text-white" style="background-color:#fa3a39;">
        <div class="container">
            <div class="alert alert-dismissible fade show m-0 px-0" role="alert">
                <strong>Watch Live:</strong> Talking heads turning fiction into facts
                <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="#fff" d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/><path d="M0 0h24v24H0z" fill="none"/></svg>
                </button>
            </div>
        </div>
    </div>
    <nav class="navbar navbar-expand navbar-dark" style="background-color:black;">
        <div class="container px-sm-3">
            <ul class="navbar-nav text-uppercase font-weight-bold small flex-nowrap text-nowrap" style="overflow-x:auto;height:2.75em;position:relative;overflow-y:hidden;">
                <li class="nav-item active">
                    <a class="nav-link" href="#">News <span class="sr-only">(current)</span></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">Nightly News</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">Meet The Turds</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">Fakeline</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">MSNBC</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">Today</a>
                </li>
            </ul>
        </div>
    </nav>
    <nav class="navbar navbar-expand-lg navbar-dark py-4" style="background-color:#111f39;border-bottom:1px solid rgba(255,255,255,0.40);">
        <div class="container px-sm-3"> 
            <a class="navbar-brand font-weight-bold" href="#">FAKE News</a>
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#headerNavbar" aria-controls="headerNavbar" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse col-lg-10 p-0" id="headerNavbar">
                <ul class="navbar-nav mr-auto  text-uppercase font-weight-bold small">
                    <li class="nav-item active">
                        <a class="nav-link" href="#">Politics <span class="sr-only">(current)</span></a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">U.S. News</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">Business</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">World</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">Tech & Media</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">Think</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">Sports</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
</header>

<main class="site-content">
    <header class="text-light py-5" style="background-color:#111f39;">
        <div class="container">
            <div class="row">
                <div class="col-12 col-lg-2">
                    <a href="#" class="text-monospace small text-light">U.S. News</a>
                </div>
                <div class="col-12 col-lg-10">
                    <h1>A White House staffer suggests Trump obtained a cure for cancer from Russia</h1>
                    <p class="lead">Sources close to the President have suggested to NBC reporters that Trump has been in contact with Russia. Although a suggestion, we're running it like it's verified and true.</p>
                </div>
            </div>
        </div>
    </header>
    <div class="py-5">
        <div class="container">
            <div class="row">
                <div class="col-12 col-lg-2">
                    <p class="small text-monospace m-0">Dec 3, 2018</p>
                    <p class="small text-monospace m-0">By Tim Rothenhell and Kathrynn Jones</p>
                    <p class="small text-monospace">Updated Dec 4, 2018</p>
                    <hr class="my-4">
                </div>
                <div class="col-12 col-lg-7 ml-auto">
                    <article class="entry">
                        <p class="">Phasellus volutpat, metus eget egestas mollis, lacus lacus blandit dui, id egestas quam mauris ut lacus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nulla porta dolor. Nunc interdum lacus sit amet orci. Phasellus tempus.</p>
                        <p class="">Praesent adipiscing. Sed mollis, eros et ultrices tempus, mauris ipsum aliquam libero, non adipiscing dolor urna a orci. Fusce vel dui. Sed lectus. Etiam ut purus mattis mauris sodales aliquam.</p>
                        <p class="">Donec sodales sagittis magna. Curabitur ullamcorper ultricies nisi. Maecenas egestas arcu quis ligula mattis placerat. Praesent venenatis metus at tortor pulvinar varius. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.</p>
                        <p class="">"Morbi vestibulum volutpat enim. Sed cursus turpis vitae tortor. Integer tincidunt. Praesent ut ligula non mi varius sagittis. Donec sodales sagittis magna.</p>
                        <figure class="figure float-left mb-3 mr-4" style="max-width:250px;">
                            <picture>
                                <img class="figure-img img-fluid rounded mr-3" data-src="holder.js/64x64" alt="64x64" style="width: 250px; height: 250px;" src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_1677a5b7f96%20text%20%7B%20fill%3Argba(255%2C255%2C255%2C.75)%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A10pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_1677a5b7f96%22%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20fill%3D%22%23777%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%2213.84375%22%20y%3D%2236.65%22%3E64x64%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" data-holder-rendered="true">
                            </picture>
                            <figcaption class="figure-caption">
                                Vivamus consectetuer hendrerit lacus. Mauris turpis nunc, blandit et, volutpat molestie, porta ut, ligula. Proin viverra, ligula sit amet ultrices semper, ligula arcu tristique sapien, a accumsan nisi mauris ac eros. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Sed libero.
                            </figcaption>
                        </figure>
                        <p class="">Vestibulum turpis sem, aliquet eget, lobortis pellentesque, rutrum eu, nisl. Sed mollis, eros et ultrices tempus, mauris ipsum aliquam libero, non adipiscing dolor urna a orci. Phasellus viverra nulla ut metus varius laoreet. Donec sodales sagittis magna. Quisque rutrum.</p>
                        <p class="">Vestibulum dapibus nunc ac augue. Nunc nec neque. Donec id justo. Pellentesque egestas, neque sit amet convallis pulvinar, justo nulla eleifend augue, ac auctor orci leo non est. Suspendisse eu ligula.</p>
                        <p class="">In hac habitasse platea dictumst. Nam ipsum risus, rutrum vitae, vestibulum eu, molestie vel, lacus. Praesent ac sem eget est egestas volutpat. Vestibulum rutrum, mi nec elementum vehicula, eros quam gravida nisl, id fringilla neque ante vel mi. Pellentesque dapibus hendrerit tortor.</p>
                        <div class="bg-light pt-4 px-4 my-4 my-md-6">
                            <div class="row">
                                <div class="col-12">
                                    <h4 class="mb-4">More Fake News</h4>
                                </div>
                                <div class="col-12 col-md-6">
                                    <div class="media py-4 border-top">
                                        <img class="mr-3" data-src="holder.js/64x64" alt="64x64" style="width: 64px; height: 64px;" src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_1677a5b7f96%20text%20%7B%20fill%3Argba(255%2C255%2C255%2C.75)%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A10pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_1677a5b7f96%22%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20fill%3D%22%23777%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%2213.84375%22%20y%3D%2236.65%22%3E64x64%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" data-holder-rendered="true">
                                        <div class="media-body">
                                            <h6 class="m-0">A fact spun to push an agenda and presented to the public as news.</h6>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-12 col-md-6">
                                    <div class="media py-4 border-top">
                                        <img class="mr-3" data-src="holder.js/64x64" alt="64x64" style="width: 64px; height: 64px;" src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_1677a5b7f96%20text%20%7B%20fill%3Argba(255%2C255%2C255%2C.75)%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A10pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_1677a5b7f96%22%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20fill%3D%22%23777%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%2213.84375%22%20y%3D%2236.65%22%3E64x64%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" data-holder-rendered="true">
                                        <div class="media-body">
                                            <h6 class="m-0">Another fact spun to push an agenda and presented to the public as news.</h6>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <p class="">Proin viverra, ligula sit amet ultrices semper, ligula arcu tristique sapien, a accumsan nisi mauris ac eros. Phasellus blandit leo ut odio. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nunc egestas, augue at pellentesque laoreet, felis eros vehicula leo, at malesuada velit leo quis pede. Aenean ut eros et nisl sagittis vestibulum.</p>
                        <p class="">Maecenas malesuada. Praesent venenatis metus at tortor pulvinar varius. Nunc nonummy metus. Pellentesque ut neque. Fusce vulputate eleifend sapien.</p>
                        <p class="lastMarkupItem">Phasellus blandit leo ut odio. Praesent turpis. Suspendisse faucibus, nunc et pellentesque egestas, lacus ante convallis tellus, vitae iaculis lacus elit id tortor. Maecenas vestibulum mollis diam. Donec mi odio, faucibus at, scelerisque quis, convallis in, nisi.</p>
                    </article>
                </div>
                <div class="col-12 col-lg-3 sidebar">
                    <aside class="small">
                        <h2 class="h5 mb-4">Sponsored Clickbait</h2>
                        <div class="media pb-2 mb-2 border-bottom">
                            <img class="mr-3" data-src="holder.js/64x64" alt="64x64" style="width: 64px; height: 64px;" src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_1677a5b7f96%20text%20%7B%20fill%3Argba(255%2C255%2C255%2C.75)%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A10pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_1677a5b7f96%22%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20fill%3D%22%23777%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%2213.84375%22%20y%3D%2236.65%22%3E64x64%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" data-holder-rendered="true">
                            <div class="media-body">
                                <h5 class="h6">Black person in auto accident with white person</h5>
                                <p class="" style="max-height:3em;overflow:hidden;">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.</p>
                            </div>
                        </div>
                        <div class="media pb-2 mb-2 border-bottom">
                            <img class="mr-3" data-src="holder.js/64x64" alt="64x64" style="width: 64px; height: 64px;" src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_1677a5b7f96%20text%20%7B%20fill%3Argba(255%2C255%2C255%2C.75)%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A10pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_1677a5b7f96%22%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20fill%3D%22%23777%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%2213.84375%22%20y%3D%2236.65%22%3E64x64%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" data-holder-rendered="true">
                            <div class="media-body">
                                <h5 class="h6">White cop fatally shoots armed hispanic man</h5>
                                <p class="" style="max-height:3em;overflow:hidden;">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.</p>
                            </div>
                        </div>
                        <div class="media pb-2 mb-2 border-bottom">
                            <img class="mr-3" data-src="holder.js/64x64" alt="64x64" style="width: 64px; height: 64px;" src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_1677a5b7f96%20text%20%7B%20fill%3Argba(255%2C255%2C255%2C.75)%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A10pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_1677a5b7f96%22%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20fill%3D%22%23777%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%2213.84375%22%20y%3D%2236.65%22%3E64x64%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" data-holder-rendered="true">
                            <div class="media-body">
                                <h5 class="h6">Illegal immigrant denied medical coverage by a horrible white government employee</h5>
                                <p class="" style="max-height:3em;overflow:hidden;">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.</p>
                            </div>
                        </div>
                    </aside>
                </div>
            </div>
        </div>
    </div>
</main>

<footer class="site-footer py-4 text-light" style="background-color:#121e39;">
    <div class="container">
        <div class="row">
            <div class="col-12 col-lg-2">
                <a class="navbar-brand font-weight-bold text-light mb-4" href="#">FAKE News</a>
            </div>
            <div class="col-12 col-lg-10">
                <div class="row">
                    <div class="col-6 col-lg-3">
                        <div class="d-flex flex-column mb-4">
                            <a href="#" class="text-white">About</a>
                            <a href="#" class="text-white">Contact</a>
                            <a href="#" class="text-white">Careers</a>
                        </div>
                    </div>
                    <div class="col-6 col-lg-3">
                        <div class="d-flex flex-column mb-4">
                            <a href="#" class="text-white">Privacy Policy</a>
                            <a href="#" class="text-white">Terms of Service</a>
                            <a href="#" class="text-white">Sitemap</a>
                        </div>
                    </div>
                    <div class="col-6 col-lg-3">
                        <div class="d-flex flex-column mb-4">
                            <a href="#" class="text-white">Advertise</a>
                            <a href="#" class="text-white">Media Kit</a>
                            <a href="#" class="text-white">Company Values</a>
                        </div>
                    </div>
                    <div class="col-6 col-lg-3">
                        <div class="d-flex flex-column mb-4">
                            <a href="#" class="text-white">FAKE News</a>
                            <a href="#" class="text-white">Nightly FAKE News</a>
                            <a href="#" class="text-white">TODAY's Fake News</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</footer>
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console