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

              
                <!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Bootstrap</title>
	<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700&display=swap&subset=latin-ext" rel="stylesheet">
  <!-- BOOTSTRAP START -->
  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
  <!-- BOOTSTRAP END -->
</head>
<body>
  <div class="bootstrap-container">
    <div class="container">
      <div class="row">
        <div class="col-md-12">
          <div class="d-flex">
            <div class="card color-blue border-0 w-100 text-center rounded-0">
              <img class="b-card-icon rounded-circle border m-auto p-2" src="https://image.flaticon.com/icons/svg/994/994392.svg">
              <h2 class="b-card-title position-relative">Birinci kutumuz</h2>
              <p class="b-card-description">
                Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur odio leo, gravida at facilisis nec, maximus in magna.
              </p>
            </div>
            <div class="card color-green border-0 w-100 text-center rounded-0">
              <img class="b-card-icon rounded-circle border m-auto p-2" src="https://image.flaticon.com/icons/svg/994/994390.svg">
              <h2 class="b-card-title position-relative">İkinci kutumuz</h2>
              <p class="b-card-description">
                Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur odio leo, gravida at facilisis nec, maximus in magna.
              </p>
            </div>
            <div class="card color-pink border-0 w-100 text-center rounded-0">
              <img class="b-card-icon rounded-circle border m-auto p-2" src="https://image.flaticon.com/icons/svg/994/994381.svg">
              <h2 class="b-card-title position-relative">Üçüncü kutumuz</h2>
              <p class="b-card-description">
                Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur odio leo, gravida at facilisis nec, maximus in magna.
              </p>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="other-links" style="text-align: center">
    <a href="https://codepen.io/MehmetSert/pen/ZdGgPz" target="_blank">Pure Css version</a><br>
    <a href="https://codepen.io/MehmetSert/pen/ZdbzJW" target="_blank">Tailwind Css version</a>
  </div>
  
  <!-- BOOTSTRAP START -->
  <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
  <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
  <!-- BOOTSTRAP END -->
</body>
</html>
              
            
!

CSS

              
                body {
	font-family: 'Lato', sans-serif!important;
	background-color: #eeeeee!important;
  padding: 50px 0;
}

.bootstrap-container {
  margin-bottom: 50px;
  .card {
    padding: 40px 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    .b-card-icon {
      width: 65px;
      height: 65px;
      margin-bottom: 30px!important;
    }
    .b-card-title {
      font-size: 20px;
      color: #333;
      margin-bottom: 40px;
      &:after {
          content: "";
          position: absolute;
          bottom: -10px;
          left: 50%;
          width: 50px;
          height: 5px;
          margin-left: -25px;
          border-radius: 3px;
          transition: .3s;
      }
    }
    .b-card-description {
      font-size: 14px;
      color: #757575;
      line-height: 23px;
    }
    &.color-blue {
      .b-card-title {
        color: #4299E1;
        &:after {
          background-color: #4299E1;
        }
      }
    }
    &.color-green {
      .b-card-title {
        color: #48BB78;
        &:after {
          background-color: #48BB78;
        }
      }
    }
    &.color-pink {
      .b-card-title {
        color: #ED64A6;
        &:after {
          background-color: #ED64A6;
        }
      }
    }
    &:hover {
      .b-card-title {
        &:after {
          width: 70px;
          margin-left: -35px;
        }
      }
    }
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console