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.

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

            
              <!DOCTYPE html>
<html>
    <head>
        <title>RetroSkatr.com</title>
        <link rel="stylesheet" type="text/css" href="style.css">
    </head>
    <body>
        <h1>Welcome To RetroSkatr.com</h1>
        <h2>Skateboarding retro style!</h2>
        <div>
            <p>The Cruiser takes you back to the 70's with its unique diamond style design, making modern day skateboarding enjoyable.</p>
            <p>It's built with the highest quality polypropylene plastic allowing you to enjoy the skateboard to the fullest level.</p>
            <img src="https://www.learn-to-code-london.co.uk/blog/wp-content/uploads/2017/02/skate1.jpg" width="200" height="200">
            <img src="https://www.learn-to-code-london.co.uk/blog/wp-content/uploads/2017/02/skate2.jpg" width="200" height="200">
            <img src="https://www.learn-to-code-london.co.uk/blog/wp-content/uploads/2017/02/skate3.jpg" width="200" height="200">
            <p>Make your skateboard stand out from the crowd with the unique combination deck colours, wheel colours as well as the wheel type.</p>
        </div>
        <div>It's built with the highest quality polypropylene plastic allow you to enjoy the skateboard to another level!</div>
        <hr />
        <ul>
            <li>
                <h2>Fun</h2>
                <p>22" x 6" cruiser skateboard is all about fun, a fantastic way to roam around town.</p>
            </li>
            <li>
                <h2>70's Styling</h2>
                <p>The cruiser takes you back to the 70's with its unique diamond style design, making modern day skateboarding enjoyable. Bends around sharp turns easily.</p>
            </li>
            <li>
                <h2>Best Materials</h2>
                <p>It's built with the highest quality polypropylene plastic allowing you to enjoy the skateboard to the fullest level.</p>
            </li>
        </ul>
        <hr />
        <a href="https://www.learn-to-code-london.co.uk/blog/2017/02/10/top-html5-tags-you-must-learn/" target="_blank">Find out more!</a>
        <pre>2017 RetroSkatr.com</pre>
    </body>
</html>
            
          
!
            
              @import url("https://fonts.googleapis.com/css?family=Holtwood+One+SC|Source+Code+Pro|Abel");

body {
    font-family: "Abel", Courier, sans-serif;
    text-transform: uppercase;
    color: #fa4b23;
    background: #222222;
}

h1 {
    margin: 1px;
    padding: 2px;
    font-family: "Holtwood One SC", Arial, sans-serif;
    font-size: 3em;
}

h2, h3 {
    font-style: italic;
    margin: 0;
    padding: 0;
    font-family: "Holtwood One SC", Arial, sans-serif;
    font-size: 1.5em;
}

h3 {
    font-family: "Source Code Pro", Courier;
    font-size: 2em;
}

img {
    border-radius: 50%;
    padding: 5px;
}

p {
    margin: 1px;
    padding: 2px;
}

a {
    font-size: 2em;
    color: #1abc9c;
}

a:hover {
    color: #fa4b23;
}

hr {
    border: 0;
    background-color: #ffffff;
    height: 3px;
}

            
          
!
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