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

              
                <div class="ban1">
  <h1>Get Lessons on HTML for 
    <s>$10.00/1 lesson</s> <i><b>$5.00/1 lesson</b></i></h1>
    <h3>🎉30 money back guarantee🎉</h3>
    <br />
    <br />
    <br />
    <button>Take The Lesson!</button>
    <br />
    <br />
    <br />
    <br />
    <br />
    <p style="font-size: 10px; text-align: center;">Our Terms of use and Privicy Policy all apply.</p>
    </div>

              
            
!

CSS

              
                .ban1 {
    width: 100%;
    height: 500px;
    background-image: url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=752&q=80");
   /*
  original link is /jwcodeme/assets/Ban_1_bg.jpg
  */
}

.ban1 h1 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    padding-top: 10%;
}

.ban1 h3 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
}

.ban1 button {
    margin: 0;
    position: absolute;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: Transparent;
    cursor: pointer;
    overflow: hidden;
    border: solid 1px;
    padding: 10px 15px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.ban1 button:hover {
    background-color: black;
    transition: 1s;
    color: white;
    border: none;
}

 ::selection {
    background-color: yellow;
    color: black;
}
              
            
!

JS

              
                
              
            
!
999px

Console