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

Auto Save

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 two-col-example">
  <div class="row">
    <div class="col-lg-6 col-xs-12">
      <h2>Popular Topics</h2>
      <div class="card-deck mb-1 text-center">
        <div class="card mb-4 box-shadow">
          <div class="card-body">
            <i class="fas fa-shield-alt fa-4x com-icon"></i>
            <h4 class="card-title pricing-card-title">Password Help</h4>
            <p class="mt-3 mb-4">Reset, change, or unlock your NT/Login password.</p>
          </div>
        </div>
        <div class="card mb-4 box-shadow">
          <div class="card-body">
            <i class="fas fa-cloud fa-4x com-icon"></i>
            <h4 class="card-title pricing-card-title">Cloud Conferencing Support</h4>
            <p class="mt-3 mb-4">Setup or schedule a Webex or other video conference.</p>
          </div>
        </div>
      </div>
      <div class="card-deck mb-1 text-center">
        <div class="card mb-4 box-shadow">
          <div class="card-body">
            <i class="fas fa-laptop fa-4x com-icon"></i>
            <h4 class="card-title pricing-card-title">Order New Hardware</h4>
            <p class="mt-3 mb-4">
Order a new laptop, phone, or other hardware.
            </p>
          </div>
        </div>
        <div class="card mb-4 box-shadow">
          <div class="card-body">
            <i class="fas fa-calendar-alt fa-4x com-icon"></i>
            <h4 class="card-title pricing-card-title">Meeting Help</h4>
            <p class="mt-3 mb-4">Learn how to schedule a meeting or reserve a conference room.</p>
          </div>
        </div>
      </div>
      <div class="card-deck mb-1 text-center">
        <div class="card mb-4 box-shadow">
          <div class="card-body">
            <i class="fas fa-print fa-4x com-icon"></i>
            <h4 class="card-title pricing-card-title">Printer Help</h4>
            <p class="mt-3 mb-4">
Get help accessing a network printer or request service.
            </p>
          </div>
        </div>
        <div class="card mb-4 box-shadow">
          <div class="card-body">
            <i class="fas fa-podcast fa-4x com-icon"></i>
            <h4 class="card-title pricing-card-title">Request VPN Access</h4>
            <p class="mt-3 mb-4">Setup Comcast VPN on your company issued device.</p>
          </div>
        </div>
      </div>
      <div class="main-button"><button type="button" class="btn btn-primary com-button">See More Topics</button></div>
    </div>
    <div class="col-lg-6 col-xs-12">
      <h2>Announcements</h2>
      <div class="list-group">
        <a href="#" class="list-group-item list-group-item-action flex-column align-items-start list-com-announcements">
          <div class="d-flex w-100 justify-content-between">
            <h5 class="mb-1">Make Your Mobile Device More Secure</h5>
<!--             <small>3 days ago</small> -->
          </div>
          <p class="mb-1">With great power (of mobile devices), there must also come great responsibility. Three things you can do now to protect yourself and Comcast.</p>
        </a>
        <a href="#" class="list-group-item list-group-item-action flex-column align-items-start list-com-announcements">
          <div class="d-flex w-100 justify-content-between">
            <h5 class="mb-1">Upgrades to Web Security: BLUE COAT</h5>
<!--             <small class="text-muted">3 days ago</small> -->
          </div>
          <p class="mb-1">On Tuesday morning February 13, we will complete a network change that will redirect all web traffic...</p>
        </a>
        <a href="#" class="list-group-item list-group-item-action flex-column align-items-start list-com-announcements">
          <div class="d-flex w-100 justify-content-between">
            <h5 class="mb-1">Multi-Factor Authentication (MFA) for Outlook Web Access (OWA)</h5>
<!--             <small class="text-muted">3 days ago</small> -->
          </div>
          <p class="mb-1">Multi-Factor Authentication (MFA) for Outlook Web Acces​s (OWA), also known as “webmail,”...</p>
        </a>
        <a href="#" class="list-group-item list-group-item-action flex-column align-items-start">
          <div class="d-flex w-100 justify-content-between">
            <h5 class="mb-1">List group item heading</h5>
<!--             <small class="text-muted">3 days ago</small> -->
          </div>
          <p class="mb-1">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>
        </a>
      </div>
      <div class="main-button"><button type="button" class="btn btn-primary com-button">See All Announcements & Alerts</button></div>
    </div>
    
  </div>
</div>

<div class="container">
      <div class="card-deck mb-3 text-center">
        <div class="card mb-4 box-shadow">
          <div class="card-body">
            <i class="fas fa-shield-alt fa-4x com-icon"></i>
            <h4 class="card-title pricing-card-title">Password Help</h4>
            <p class="mt-3 mb-4">Reset, change, or unlock your NT/Login password.</p>
          </div>
        </div>
        <div class="card mb-4 box-shadow">
          <div class="card-body">
            <i class="fas fa-cloud fa-4x com-icon"></i>
            <h4 class="card-title pricing-card-title">Cloud Conferencing Support</h4>
            <p class="mt-3 mb-4">Setup or schedule a Webex or other video conference.</p>
          </div>
        </div>
        <div class="card mb-4 box-shadow">
          <div class="card-body">
            <i class="fas fa-laptop fa-4x com-icon"></i>
            <h4 class="card-title pricing-card-title">Order New Hardware</h4>
            <p class="mt-3 mb-4">
Order a new laptop, phone, or other hardware.
            </p>
          </div>
        </div>
      </div>
</div>

<div class="container">
      <div class="card-deck mb-3 text-center">
        <div class="card mb-4 box-shadow">
          <div class="card-body">
            <i class="fas fa-shield-alt fa-4x com-icon"></i>
            <h4 class="card-title pricing-card-title">Password Help</h4>
            <p class="mt-3 mb-4">Reset, change, or unlock your NT/Login password.</p>
          </div>
        </div>
        <div class="card mb-4 box-shadow">
          <div class="card-body">
            <i class="fas fa-cloud fa-4x com-icon"></i>
            <h4 class="card-title pricing-card-title">Cloud Conferencing Support</h4>
            <p class="mt-3 mb-4">Setup or schedule a Webex or other video conference.</p>
          </div>
        </div>
        <div class="card mb-4 box-shadow">
          <div class="card-body">
            <i class="fas fa-laptop fa-4x com-icon"></i>
            <h4 class="card-title pricing-card-title">Order New Hardware</h4>
            <p class="mt-3 mb-4">
Order a new laptop, phone, or other hardware.
            </p>
          </div>
        </div>
        <div class="card mb-4 box-shadow">
          <div class="card-body">
            <i class="fas fa-calendar-alt fa-4x com-icon"></i>
            <h4 class="card-title pricing-card-title">Meeting Help</h4>
            <p class="mt-3 mb-4">Learn how to schedule a meeting or reserve a conference room.</p>
          </div>
        </div>
      </div>
</div>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900');

body{
  background: #F2F2F2;
  color: #303030;
  margin-top:3em;
  font-family: 'Roboto', sans-serif;
}

.two-col-example{
  margin-bottom:10em;
}

h2{
  margin-bottom: 1em;
  text-align:center;
  font-size: 40px;
  font-weight: 300;
}

h4{
  font-weight: 400;
  font-size: 18px;
}

h5{
  color: #1F6F9A;
  font-weight: 400;
}

p{
  font-weight: 300;
  font-size: 14px;
}

.com-button{
  background-color: #1F6F9A;
  font-weight: 300;
  font-size: 18px;
  padding: .7em 2em;
  border-radius: 100px;
}

.main-button{
  margin-top: 1em;
  text-align: center;
}

.card{
  border-radius:3px;
  border: 1px solid #D1D1D1;
}

.card-deck .card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-right: 6px;
    margin-bottom: 0;
    margin-left: 6px;
}

.com-icon{
  margin-bottom: .35em;
  color: #1F6F9A;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 1rem .9em;
    margin-bottom: .5em;
    background-color: transparent;
/*     border: 1px solid rgba(0, 0, 0, 0.125); */
  border: none;
}

.list-group-item:first-child {
padding-top: 0;
}

.list-group p{
  font-size: 16px;
}

.list-com-announcements{
 border-bottom: 1px solid #D1D1D1; 
}
              
            
!

JS

              
                
              
            
!
999px

Console