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. 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

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

              
                <meta charset="UTF-8">
    <title>Footer</title>
    <meta name="viewport" content="width=device-width,initial-scale=1"/>
    <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="format-detection" content="telephone=no">

    <link href="https://fonts.googleapis.com/css2?family=Muli:wght@300;400;700&display=swap" rel="stylesheet"> <!-- Fonts -->

    <link rel="stylesheet" href="https://unpkg.com/modern-css-reset/dist/reset.min.css" /> <!-- Reset Styles -->
<div class="wrapper">
        <footer class="container">
            <section class="footer__container">
                <div class="footer__links">
                    <p class="footer__title">News</p>
                    <ul class="footer__list">
                        <li class="footer__item"><a href="#" class="footer__list__links">Agency News</a></li>
                        <li class="footer__item"><a href="#" class="footer__list__links">Brand News</a></li>
                        <li class="footer__item"><a href="#" class="footer__list__links">Industry News</a></li>
                        <li class="footer__item"><a href="#" class="footer__list__links">Marketing Resources</a></li>
                        <li class="footer__item"><a href="#" class="footer__list__links">Interviews</a></li>
                        <li class="footer__item"><a href="#" class="footer__list__links">Awards</a></li>
                        <li class="footer__item"><a href="#" class="footer__list__links">Web Desing</a></li>
                    </ul>
                </div>
                <div class="footer__links">
                    <p class="footer__title">Work</p>
                    <ul class="footer__list">
                        <li class="footer__item"><a href="#" class="footer__list__links">Ad Campaigns</a></li>
                        <li class="footer__item"><a href="#" class="footer__list__links">Branding</a></li>
                        <li class="footer__item"><a href="#" class="footer__list__links">Case Studies</a></li>
                        <li class="footer__item"><a href="#" class="footer__list__links">Social Media Campaigns</a></li>
                        <li class="footer__item"><a href="#" class="footer__list__links">Website Designs</a></li>
                    </ul>
                </div>
                <div class="footer__links">
                    <p class="footer__title">Blog</p>
                    <ul class="footer__list">
                        <li class="footer__item"><a href="#" class="footer__list__links">Marketing</a></li>
                        <li class="footer__item"><a href="#" class="footer__list__links">SEO &#38; SEM</a></li>
                        <li class="footer__item"><a href="#" class="footer__list__links">Virtual Reality</a></li>
                        <li class="footer__item"><a href="#" class="footer__list__links">AI Marketing</a></li>
                    </ul>
                </div> <!-- End of List -->
                <div class="footer__links footer__links-side">
                    <p class="footer__title">Featured Posts</p>
                    <div class="footer__posts__wrapper">
                        <div class="footer__posts">
                            <img src="https://picsum.photos/300/300?grayscale" alt="news" class="footer__img">
                            <div class="footer__posts__text__container">
                                <p class="footer__posts__subtitle">NEWS | Marketing News</p>
                                <p class="footer__title--posts">My Experience with Neumorphism (tips and resources)</p>
                                <p class="footer__text">A couple weeks ago I thought about experimenting with Neumorphism, since I haven't been doing much of it despite it's growing popularity.</p>
                            </div>
                        </div>
                        <div class="footer__posts">
                            <img src="https://picsum.photos/300/300?grayscale" alt="calendar" class="footer__img">
                            <div class="footer__posts__text__container">
                                <p class="footer__posts__subtitle">NEWS | Marketing News</p>
                                <p class="footer__title--posts">Date Picker UI Designs created with Sketch, Photoshop and Figma</p>
                                <p class="footer__text">A couple weeks ago I thought about experimenting with Neumorphism, since I haven't been doing much of it despite it's growing popularity.</p>
                            </div>
                        </div>
                    </div>
                </div> <!-- End of Posts -->
            </section> <!-- End of Lists and Featured Posts -->
            <section class="footer__banner">
                <div class="footer__banner__container">
                    <p class="footer__title--banner">Switch to Pro Plan today and save up to 30% off</p>
                    <p class="footer__text footer__text--banner">Check which versions are available to upgrade to and validate whether your current subscription is upgradeable.</p>
                </div>
                <a href="#" class="footer__btn">Upgrade my Plan</a>
            </section> <!-- End of banner -->
        </footer>
    </div>
              
            
!

CSS

              
                .wrapper {
            font-size: 1rem;
            font-weight: 400;
            font-family: 'Muli', sans-serif;
            color: #2B2942;
            background-color: #F2F2F2;
            min-height: 100vh;
            display: grid;
            place-items: center;
        }

        .container {
            background-color: white;
            border-radius: 0.3em;
            max-width: 1100px;
            max-height: 700px;
        }

        /*------ Typography ------*/
        .footer__title {
            font-weight: 700;
            margin-bottom: 1.5em;
            text-transform: uppercase;
        }

        .footer__item {
            font-size: 0.8rem;
            font-weight: 300;
            margin-bottom: 0.8em;
        }

        .footer__list__links {
            color: #2B2942;
            text-decoration: none;
        }

        .footer__list__links:hover {
            color: #DC3A7A;
        }

        .footer__posts__subtitle {
            font-size: 0.7rem;
            font-weight: 300;
            margin-bottom: 0.3em;
        }

        .footer__title--posts {
            font-weight: 700;
            margin-bottom: 0.5em;
        }

        .footer__title--banner {
            font-size: 1.1rem;
            font-weight: 700;
            color: white;
            margin-bottom: 0.5em;
            width: 60%;
        }

        .footer__text {
            font-size: 0.8rem;
        }

        .footer__text--banner {
            
            font-weight: 300;
        }

        /*------ Buttons ------*/
        .footer__btn {
            font-weight: 700;
            color: #FFF;
            background-color: #353886;
            text-decoration: none;
            padding: 1em 3em;
            border-radius: 0.4em;
            transition: background-color 250ms ease;

        }
        .footer__btn:hover{
            background-color: #4a4eb5;
        } 

        /*------ Sections ------*/
        .footer__container {
            display: flex;
            padding: 4em;
            padding-bottom: 2em;

        }

        .footer__links {
            flex-grow: 2;
        }

        .footer__links-side {
            width: 40%;
            flex-grow: 1;
        }

        .footer__links+.footer__links {
            margin-left: 2em;
        }

        .footer__posts {
            display: -webkit-flex;
            display: -moz-flex;
            display: -ms-flex;
            display: -o-flex;
            display: flex;
            margin-bottom: 1em;
        }

        .footer__img {
            height: 8rem;
            box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.4);
            object-fit: cover;
        }

        .footer__posts__text__container {
            margin-left: 1em;
        }

        /*------ Banner ------*/
        .footer__banner {
            color: #FFF;
            background-color: #1A1C52;
            border-radius: 0.5em;
            display: -webkit-flex;
            display: -moz-flex;
            display: -ms-flex;
            display: -o-flex;
            display: flex;
            justify-content: space-between;
            -ms-align-items: center;
            align-items: center;
            margin: 0em 4em 4em 4em;
            padding: 1.5em 2em;

        }
        .footer__banner__container{
            width: 50%;
        }
              
            
!

JS

              
                
              
            
!
999px

Console