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

              
                 <section id="our-program">
            <div class="container">
              
                <div class="top text-center">
                    <h1 style="color:#029eb7">OUR PROGRAMS</h1>
                    
                </div>

                <div class="row">
                      <div class="col-md-4">
                          <div class="card">
                            <div class="card-img-top">
                              <img src="https://images.unsplash.com/photo-1558981852-426c6c22a060" alt="">
                            </div>
                            <div class="card-block">
                              <h4 class="card-title">STUDY TOUR</h4>
                              <p class="card-text">There are many variations of passages of Lorem Ipsum available...There are many variations of passages of Lorem Ipsum available...</p>
                              <div class="card-footer">View Tour</div>
                            </div>
                          </div>
                      </div>
                      
                     <div class="col-md-4">
                           <div class="card">
                             <div class="card-img-top">
                              <img src="https://images.unsplash.com/photo-1573805797307-d6975847411b?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=750&q=80" alt=""> 
                             </div>
                            <div class="card-block">
                              <h4 class="card-title">STUDY TOUR</h4>
                              <p class="card-text">There are many variations of passages of Lorem Ipsum available...There are many variations of passages of Lorem Ipsum available...</p>
                              <div class="card-footer">View Tour</div>
                            </div>
                          </div>
                      </div>
                      <div class="col-md-4">
                           <div class="card">
                             <div class="card-img-top">                               
                              <img src="https://images.unsplash.com/photo-1558981001-1995369a39cd?ixlib=rb-1.2.1&auto=format&fit=crop&w=750&q=80" alt="">
                             </div>
                            <div class="card-block">
                              <h4 class="card-title">STUDY TOUR</h4>
                              <p class="card-text">There are many variations of passages of Lorem Ipsum available...There are many variations of passages of Lorem Ipsum available...</p>
                              <div class="card-footer">View Tour</div>
                            </div>
                          </div>
                      </div>
                    </div>
                </div>
        </section>
              
            
!

CSS

              
                /*-------------------------------------------
01. Our Program
---------------------------------------------*/
#our-program {
    padding: 70px 0;
    background: #fff;
}

#our-program .top {
    margin-bottom: 50px;
}

.card {
    overflow: hidden;
    border-radius:0 0 10px 10px;
    position: relative;
    font-family: 'lato';
    background: #fff;
    text-align: center;
    -webkit-box-shadow: -4px 2px 10px 3px rgba(0,0,0,0.50);
    -moz-box-shadow: -4px 2px 10px 3px rgba(0,0,0,0.50);
    box-shadow: -4px 2px 10px 3px rgba(0,0,0,0.50);
    margin-bottom: 30px;
}

.card-img-top {
  max-height: 250px;
  overflow: hidden;
}

.card-img-top img {
  width: 100%;
  transition: .3s all;
}

.card:hover .card-img-top img {
  transform: scale(1.2);
}

.card img{
    width: 110%;
    height: 100%;
}

.card h4 {
    padding-top: 25px;
    font-weight: 700;
}

.card .card-text {
    width: 80%;
    margin: 0 auto;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-footer {
    background: #029eb7;
    padding: 10px 30px;
    font-weight: 700;
    font-size: 15px;
    display: inline-block;
}
              
            
!

JS

              
                
              
            
!
999px

Console