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="container">

  <div id="content">

    <!--Single Column-->
    <div class="single-column">
      <h2>Welcome</h2>
      <p>I like the brand’s physical locations. They are one stop shops with every conceivable product needed for that week’s date as well as a pharmacy and a full-service laundry and grocery store.</p>
    </div>

    <hr />

    <!--Two Columns-->
    <div class="clearfix">
      <div class="column one-half">
        <h2>Column 1</h2>
        <p>How I would describe this more guitar-like logo, from Deep Purple - Black & White days, with a difference in typography.</p>
      </div>

      <div class="column one-half last">
        <h2>Column 2</h2>
        <p>Last but not least…the logo before and logo after the transformation. The new one is definitely more youthful, energetic, and in your face.</p>
      </div>
    </div>

    <hr />

    <!--Three Columns-->
    <div class="clearfix">
      <div class="column one-third">
        <h2>Column 1</h2>
        <p>How I would describe this more guitar-like logo, from Deep Purple - Black & White days, with a difference in typography.</p>
      </div>

      <div class="column one-third">
        <h2>Column 2</h2>
        <p>Last but not least…the logo before and logo after the transformation. The new one is definitely more youthful, energetic, and in your face.</p>
      </div>

      <div class="column one-third last">
        <h2>Column 3</h2>
        <p>Creating a quirky and fun brand is always engaging because it’s so uncompromising. I think being a grown-up and not trying to be cool is a balance that makes sense for us. </p>
      </div>
    </div>

    <hr />

    <!--Four Columns-->
    <div class="clearfix">
      <div class="column one-fourth">
        <h2>Column 1</h2>
        <p>How I would describe this more guitar-like logo, from Deep Purple - Black & White days, with a difference in typography.</p>
      </div>

      <div class="column one-fourth">
        <h2>Column 2</h2>
        <p>Last but not least…the logo before and logo after the transformation. The new one is definitely more youthful, energetic, and in your face.</p>
      </div>

      <div class="column one-fourth">
        <h2>Column 3</h2>
        <p>Last but not least…the logo before and logo after the transformation. The new one is definitely more youthful, energetic, and in your face.</p>
      </div>

      <div class="column one-fourth last">
        <h2>Column 4</h2>
        <p>Creating new typefaces and tools that allow you to create functional, visual content from any angle.</p>
      </div>
    </div>

    <hr />

  </div>

</div>
              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

body {
  color: #000;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 26px;
}

a {
  color: #0054a6;
  text-decoration: underline;
}

h2 {
  color: #eb0000;
  font-size: 34px;
  line-height: 44px;
  margin: 30px 0 15px;
}

/* Apply the :not pseudo-class */
#content > :not(.single-column) h2 {
  color: #252525;
  font-size: 20px;
  line-height: 26px;
  margin: 10px auto 5px;
}

#content {
  margin: 60px auto;
  padding: 0;
  width: 80%;
}

.single_column {
 width: 100%;
}

.column {
  width: 100%;
  margin-right: 4%;
  position: relative;
  float: left;
}
.column.last {
  clear: right;
  margin-right: 0;
}
.one-half {
  width: 48%;
}
.one-third {
  width: 30.66%;
}
.one-fourth {
  width: 22%;
}
.one-fifth {
  width: 16.8%;
}
.one-sixth {
  width: 13.33%;
}

.clearfix {
margin:0px auto;
clear:both;
}

.clearfix:before, .clearfix:after, .post:before, .post:after {
content: " "; /* 1 */
display: table; /* 2 */
}

.clearfix:after, .post:before {
clear:both;
}


              
            
!

JS

              
                
              
            
!
999px

Console