cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

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.

            
              <!doctype html>
<html lang="pl">
<head>
    <meta charset="utf-8">
    <title>Nasz pierwszy blog</title>
</head>
<body>
    <nav>
        <ul>
            <li><a href="/">Strona główna</a></li>
            <li><a href="#">Strony X</a></li>
            <li><a href="#">Strony Y</a></li>
            <li><a href="#">Strony Z</a></li>
            <li><a href="#">Kontakt</a></li>
        </ul>
    </nav>

    <header>
        <h1>Nasz Pierwszy blog</h1>
        <p>Blog, który zrobiliśmy od podstaw</p>
    </header>

    <div id="content">
        <section>
            <article>
                <header>
                    <h2>Przykładowy post</h2>
                    <p>15 Lutego 2017, <span>Rafał</span></p>
                </header>

                <p>
                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. In convallis dignissim metus vitae suscipit. Proin mattis sapien non magna tincidunt,
                    sed pellentesque nulla cursus. Praesent accumsan malesuada ex, sit amet aliquam augue scelerisque eu. Nunc mollis, diam ut tempus molestie,
                    leo odio molestie enim, sit amet volutpat ex mi consequat quam. Maecenas justo libero, aliquam quis nunc at, volutpat fringilla quam.
                    Nulla a sem sed leo imperdiet eleifend in quis nulla. Sed hendrerit, sapien eu finibus pharetra, nisi eros posuere nulla, eget lacinia ex
                    nisi vel ipsum. Pellentesque sit amet tortor massa. Donec a commodo quam, at congue tortor. Ut ornare eros nec urna commodo laoreet.
                    Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Curabitur dictum erat in neque efficitur consectetur.
                </p>
            </article>
        </section>

        <aside>
            <section>
                <h3>Archiwum</h3>

                <ul>
                    <li><a href="#">Luty 2017 (1)</a></li>
                    <li><a href="#">Styczeń 2017 (7)</a></li>
                    <li><a href="#">Grudzień 2016 (5)</a></li>
                </ul>
            </section>

            <section>
                <h3>Tagi</h3>

                <ul>
                    <li><a href="#">blog</a></li>
                    <li><a href="#">tagX</a></li>
                    <li><a href="#">tagY</a></li>
                </ul>
            </section>
        </aside>
    </div>

    <footer>
        <p>Blog stworzony przez czytelników bloga <a href="http://devblog.eu">DevBlog.eu</a></p>
        <p><a href="#">na górę</a></p>
    </footer>
</body>
</html>
            
          
!
            
              html, body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
}

#content {
  display: flex;
  height: 100%;
  flex: 1;
}

aside {
  min-width: 100px;
  flex: 0 0 25%;
}


/* Menu */
nav {
  background-color: #7d8488;
  box-shadow: 0 2px 5px 2px rgba(0,0,0,.16), 0 2px 10px 2px rgba(0,0,0,.12);
  z-index: 1;
}





body > header {
  background: #e2e2c2;
}

#content {
  background: #c2c2b2;
}

#content > section {
  background: #c2b2b2;
}

#content > aside {
  background: #c2b2a2;
}

body > footer {
  background: #d4d4a2;
}
            
          
!
999px
Loading ..................

Console