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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <div class="container-fluid blog-grid
            gw gw--full">
    <div class="hero g one-whole tablet-one-half">
        <div class="hero-border">
            <div class="hero-text">Creative Blog Title</div>
        </div>
    </div>
    <div class="content blog g one-whole tablet-one-half gw gw--full">
        <div class="blog-title g one-whole desk-two-thirds">
            <h1>Creative Blog Title</h1>
            <span>This is a small headline to go under the title.</span>
        </div>
        <div class="blog-content g one-whole tablet-five-sixths desk-three-quarters">
            <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris condimentum quam in tellus dignissim, sit amet tempus sapien elementum. Ut luctus id est sed vehicula. Nullam malesuada faucibus sapien, eget fermentum erat accumsan posuere. Nullam venenatis tempor posuere. Vivamus non felis nec nulla tempus blandit. Vestibulum ultrices eros nec nunc sagittis ultrices. Praesent at feugiat quam. Fusce elementum consectetur lorem a ultricies.</p>
            <p>Vestibulum vel nulla mattis, faucibus urna quis, molestie dui. Nulla dui lorem, finibus et consequat vel, tempor eget justo. Donec porta metus eu erat efficitur, vel viverra justo aliquam. Proin nec augue id lorem varius pharetra sit amet vitae nibh. Aenean vitae purus orci. In condimentum nibh vestibulum dui ullamcorper, porttitor egestas dui mattis. Suspendisse dignissim nulla elit, at ultricies urna tincidunt quis.</p>
        </div>
    </div>
</div>
            
          
!

CSS

            
              body {
  background: #f7f7f7;
}

body p {
  line-height: 1.6rem;
}
.container {
  padding: 0 !important;
}
.nav {
  position: absolute !important;
}
.hero {
  height: 100vh;
  background: url("https://gratisography.com/thumbnails/gratisography-313-thumbnail.jpg")
    50% no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .hero-border {
  height: 80%;
  width: 80%;
  border: #f7f7f7 solid 1.6rem;
  display: flex;
  align-items: center;
  text-align: center;
}
.hero .hero-border .hero-text {
  display: none;
  color: #f7f7f7;
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
}
@media screen and (max-width: 47.99em) {
  .hero .hero-border .hero-text {
    display: block;
  }
}
.blog.gw {
  align-items: end;
  height: 100vh;
  overflow: scroll;
}
.blog-title {
  grid-column-end: 13 !important;
  text-align: center;
  padding-right: 2rem;
}
@media screen and (min-width: 48em) {
  .blog-title {
    text-align: right;
  }
}
@media screen and (max-width: 47.99em) {
  .blog-title {
    margin-top: 2rem;
    opacity: 0.7;
  }
}
.blog-title h1 {
  font-size: 3rem;
  margin-bottom: 0;
  font-weight: bold;
}
@media screen and (max-width: 47.99em) {
  .blog-title h1 {
    display: none;
  }
}
@media screen and (min-width: 75em) {
  .blog-title h1 {
    font-size: 4rem;
  }
}
.blog-title span {
  font-size: 1.6rem;
  opacity: 0.9;
}
.blog-content {
  text-align: justify;
  grid-row: span 2;
  margin-top: 2rem;
}
@media screen and (min-width: 48em) {
  .blog-content {
    margin: 0 2rem;
  }
}
.blog-content p:first-of-type:first-letter {
  font-size: 50px;
  font-weight: bold;
  margin: -5px 10px -10px 0;
  line-height: 50px;
  float: left;
}

            
          
!

JS

            
              
            
          
!
999px

Console