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 class="row">
    <div class="col-md-12 col-lg-8 offset-lg-2">
      <article class="education-item">
        <i class="education-icon fa fa-graduation-cap"></i>
        <h3 class="education-date">2019</h3>
        <div class="card">
          <div class="card-body">
            <h5 class="card-title"> <a href="">
                  PhD in Computer Engineering
</a> </h5>

            <h6 class="card-subtitle"> <a href="">link to website</a> </h6>
            <p class="card-text text-muted">2018 - 2019</p>
            <p class="card-text">
              Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam quis risus id nulla eleifend eleifend. In ligula eros, hendrerit eu tristique sit amet, gravida ut mi. Integer eu nisl id augue aliquet condimentum sit amet nec turpis. Sed eget hendrerit lacus.
              Donec erat lectus, varius sed risus id, bibendum cursus velit </p>
            <p class="card-text">Links to <a href="https://github.com/eugene-robb" target="_blank">GitHub</a> and demo.</p>
          </div>
        </div>
      </article>
      <article class="education-item">
        <i class="education-icon fa fa-graduation-cap"></i>
        <h3 class="education-date">2018</h3>
        <div class="card">
          <div class="card-body">
            <h5 class="card-title"> <a href="">
                  MSc in Computer Engineering</a> </h5>

            <h6 class="card-subtitle"> <a href="">link to website</a> </h6>
            <p class="card-text text-muted">2015 - 2018</p>
            <p class="card-text">
              Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam quis risus id nulla eleifend eleifend. In ligula eros, hendrerit eu tristique sit amet, gravida ut mi. Integer eu nisl id augue aliquet condimentum sit amet nec turpis. Sed eget hendrerit lacus.
              Donec erat lectus, varius sed risus id, bibendum cursus velit </p>
            <p class="card-text">Link to <a href="https://github.com/eugene-robb" target="_blank">GitHub</a> and <a target="_blank" rel="noopener noreferrer">demo</a>.</p>
          </div>
        </div>
      </article>
      <article class="education-item">
        <i class="education-icon fa fa-graduation-cap"></i>
        <h3 class="education-date">2015</h3>
        <div class="card">
          <div class="card-body">
            <h5 class="card-title"> <a href="">
                  Bachelor in Computer Science</a> </h5>

            <h6 class="card-subtitle"> <a href="">link to website</a> </h6>
            <p class="card-text text-muted">2011 - 2015</p>
            <p class="card-text">
              Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam quis risus id nulla eleifend eleifend. In ligula eros, hendrerit eu tristique sit amet, gravida ut mi. Integer eu nisl id augue aliquet condimentum sit amet nec turpis. Sed eget hendrerit lacus.
              Donec erat lectus, varius sed risus id, bibendum cursus velit </p>
            <p class="card-text">Link to <a href="https://github.com/eugene-robb" target="_blank">GitHub</a> and demo.</p>
          </div>
        </div>
      </article>
      <article class="education-item">
        <i class="education-icon fa fa-graduation-cap"></i>
        <h3 class="education-date">2011</h3>
        <div class="card">
          <div class="card-body">
            <h5 class="card-title"> <a href="">
                  Secondary School</a> </h5>

            <h6 class="card-subtitle"> <a href="">link to website</a> </h6>
            <p class="card-text text-muted">2005 - 2011</p>
            <p class="card-text">
              Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam quis risus id nulla eleifend eleifend. In ligula eros, hendrerit eu tristique sit amet, gravida ut mi. Integer eu nisl id augue aliquet condimentum sit amet nec turpis. Sed eget hendrerit lacus.
              Donec erat lectus, varius sed risus id, bibendum cursus velit </p>
            <p class="card-text">Link to <a href="https://github.com/eugene-robb" target="_blank">GitHub</a> and demo.</p>
          </div>
        </div>
      </article>
    </div>
  </div>
</div>
              
            
!

CSS

              
                .education {
  &-item {
    border-left: 1px solid #f4f5f7;
    position: relative;
    padding: 32px 24px 8px 40px;
    margin-left: 35px;

    @media (min-width: 768px) {
      margin-left: 110px;
    }

    .education-icon {
      position: absolute;
      left: -1.3rem;
      width: 42px;
      text-align: center;
      font-size: 22px;
      background-color: #fff;
    }

    @media (min-width: 768px) {
      .education-date {
        position: absolute;
        left: -10rem;
        width: 7.5rem;
        text-align: right;
      }
    }
  }
}

              
            
!

JS

              
                
              
            
!
999px

Console