Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

              
                <section class="l-section">
  <div class="container">
    <div class="contant">

      <div class="wrap-grid">

        <div class="row">
          <div class="col-1of1">
            <h3 class="tertiary">OUTLINE</h3>
            <p class="gird-p">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eius nobis quo praesentium odio veniam placeat adipisci facilis, deserunt aspernatur nostrum, eaque aliquid reprehenderit ab accusamus facere commodi, exercitationem molestiae. Assumenda.</p>
          </div>
        </div>
      
        <div class="row">
          <div class="col-1of2">
            <h3 class="tertiary">WHAT</h3>
            <p class="gird-p">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Enim quia earum ipsam, repudiandae corporis facere, error cumque rem, nemo explicabo unde maiores eveniet quam deserunt minima quas soluta necessitatibus dolor.</p>
          </div>

          <div class="col-1of2">
            <h3 class="tertiary">WHO</h3>
            <p class="gird-p attention">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quo aspernatur nihil doloribus, dolores ab odit temporibus omnis perferendis consectetur nam molestias fugit praesentium expedita nemo repellendus recusandae! Veritatis, ipsa, eaque!</p>
          </div>
        </div>
      
        <div class="row">
          <div class="col-1of3">
            <h3 class="tertiary">WHAT</h3>
            <p class="gird-p">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Enim quia earum ipsam, repudiandae corporis facere, error cumque rem, nemo explicabo unde maiores eveniet quam deserunt minima quas soluta necessitatibus dolor.</p>
          </div>
      
          <div class="col-1of3">
            <h3 class="tertiary">WHO</h3>
            <p class="gird-p attention">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quo aspernatur nihil doloribus, dolores ab odit temporibus omnis perferendis consectetur nam molestias fugit praesentium expedita nemo repellendus recusandae! Veritatis, ipsa, eaque!</p>
          </div>
      
          <div class="col-1of3">
            <h3 class="tertiary">WHEN</h3>
            <p class="gird-p">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Excepturi nemo, nam ex quos tenetur error aut aliquam deleniti modi, assumenda rem, recusandae ratione natus. Repellendus magni laboriosam rerum veniam ipsam.</p>
          </div>
        </div>
      
        <div class="row sp-2column ">
          <div class="col-1of4">
            <h3 class="tertiary">LOCATION</h3>
            <p class="gird-p">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
          </div>
          <div class="col-1of4">
            <h3 class="tertiary">POSITIONS</h3>
            <p class="gird-p">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
          </div>
          <div class="col-1of4">
            <h3 class="tertiary">COMPENSATION</h3>
            <p class="gird-p">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
          </div>
          <div class="col-1of4">
            <h3 class="tertiary">DEADLINE</h3>
            <p class="gird-p">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>
              
            
!

CSS

              
                /* ----------------------------
* mobile
* -------------------------- */
$BREAK_POINT_MOBILE: 768px;

@mixin mobile($break-point: $BREAK_POINT_MOBILE) {
  @media screen and (max-width: $break-point) {
    @content;
  }
}

/* ----------------------------
* calc-vw
* -------------------------- */
@function calc-vw($size, $viewport:320){
  $rate: 100 / $viewport;
  @return $rate * $size * 1vw;
}

/* ----------------------------
* section
* -------------------------- */
.l-section {
  min-width: 1200px;
  margin: 0 40px;
  /* mobile */
  @include mobile {
      min-width: inherit;
      width: 100%;
      margin: 0 auto;
      padding: 0;
  }
}

/* ----------------------------
* container
* -------------------------- */

.container{
  min-width: 1200px;
  margin: 0 auto;
  background-color: gray;
  padding-top: 60px;
  border-top: 1px solid #fff;
  /* mobile */
  @include mobile {
    min-width: inherit;
    width: calc-vw(600,640);
    margin: 0 auto;
    padding: 0;
  }
}

/* ----------------------------
* content
* -------------------------- */
.content{
  width: 1080px;
  margin: 0 auto;
  background-color: #fff;
  color: #000;
  /* mobile */
  @include mobile {
    width: calc-vw(560,640);
    margin: 0 auto;
    padding: 0;
    padding-bottom: calc-vw(8,320);
  }
}

/* ----------------------------
* wrap-grid
* -------------------------- */
.wrap-grid{
  width: 1020px;
  margin: 0 auto;
  /* mobile */
  @include mobile {
    width: 100%;
    display: inline-block;
    margin-top: calc-vw(20,320);
  }
}

.row{
  display: flex;
  justify-content: space-between;
  /* mobile */
  @include mobile {
    width: 100%;
    display: inline-block;
    margin-top: calc-vw(20,320);
  }
}


.col-1of1{
  width: 100%;
  border-top: 1px #fff solid;
  &.gird-outline{
    width: 800px;
    margin: 0 auto;
  }
  /* mobile */
  @include mobile{
    width: calc-vw(540,640);
    margin:0 auto;
  }
}


.col-1of2 {
  border-top: inherit;
  width: 480px;
  border-top: 1px #fff solid;
  /**  * mobile */
  @include mobile {
    width: calc-vw(540,640);
    margin: 0 auto;
  }
}


.col-1of3 {
  border-top: 1px #fff solid;
  width: 300px;
  /* mobile */
  @include mobile {
    width: calc-vw(540,640);
    margin: 0 auto;
    margin-top: calc-vw(60,640);
  }
}

.col-1of4{
  border-top: 1px #fff solid;
  width: 210px;
  /* mobile */
  @include mobile{
    width: calc-vw(250,640);
  }
}

/* mobile */
@include mobile {
  .sp-2column{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
  }
}


.gird-p{
  width: 100%;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
  &:last-child{
    margin-bottom: 54px;
  }
  /* mobile */
  @include mobile {
    margin-bottom: calc-vw(16,320);
    &:last-child{
      margin-bottom: calc-vw(16,320);
    }
  }
}



              
            
!

JS

              
                
              
            
!
999px

Console