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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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.

Details

Privacy

Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO

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.

Template

Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:

Screenshot

Screenshot or Custom Thumbnail

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO

HTML

              
                <script>
  $(document).ready(function(){
    $("#card1").css("center-block")   
});
</script>

<meta name="viewport" content="width=device-width, initial-scale=1">
<div class="container-fluid">
  <h1 class="text-md-center"><span class="g">L</span><span class="o">ar</span><span class="o1">ry</span> <span class="g">Pa</span><span class="l">g</span><span class="e">e</span></h1>
  <div class="container">
    <div class="row">
      <div class="container-fluid">
<image src="https://lh3.googleusercontent.com/-Y86IN-vEObo/AAAAAAAAAAI/AAAAAAAKyAM/6bec6LqLXXA/s0-c-k-no-ns/photo.jpg" class="img-thumbnail img-fluid m-x-auto d-block" width="350px">
  <div class="caption text-md-center"><em>Chief Executive Officer of Alphabet Inc.</em></div>
  </div>
     <hr>
 <!--CARDS start here-->
        <div class="card card-1 col-md-6 text-md-center" id="card1">
        <table class="table table-hover">
  <tbody>
    <tr>
      <td><span class="bold">Born</span></td>
      <td><p>	Lawrence Page<br> March 26, 1973 (age 43)<br>
        East Lansing, Michigan, U.S.</p></td>
    </tr>
    <tr>
      <td><span class="bold">Residence</span></td>
      <td>Palo Alto, California, U.S.</td>
    </tr>
    <tr>
      <td><span class="bold">Nationality</span></td>
      <td colspan="2">American</td>
    </tr>
    <tr>
      <td><span class="bold">Alma mater</span></td>
      <td colspan="2">University of Michigan<br>
Stanford University</td>
    </tr>
    <tr>
      <td><span class="bold">Occupation</span></td>
      <td colspan="2">Computer scientist, Internet<br> entrepreneur</td>
    </tr>
    <tr>
      <td><span class="bold">Known for	</span></td>
      <td colspan="2">Co-founder of Google Inc., CEO of <br>Alphabet Inc, PageRank</td>
    </tr>
    <tr>
      <td><span class="bold">Net worth</span></td>
      <td colspan="2">Increase US$39 billion (August 2016)</td>
    </tr>
    <tr>
      <td><span class="bold">Title</span></td>
      <td colspan="2">CEO of Alphabet Inc</td>
    </tr>
    <tr>
      <td><span class="bold">Spouse(s)</span></td>
      <td colspan="2">Lucinda Southworth (m. 2007)</td>
    </tr>
    <tr>
      <td><span class="bold">Children</span></td>
      <td colspan="2">2</td>
    </tr>
      <tr>
      <td><span class="bold">Signature</span></td>
      <td colspan="2"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/Larry_Page_google_signature.svg/150px-Larry_Page_google_signature.svg.png"></td>
    </tr>
  </tbody>
</table>
        </div>       
  <div class="card card-1 col-md-12">
      Lawrence "Larry" Page (born March 26, 1973) is an American computer scientist and an Internet entrepreneur who co-founded Google Inc. with Sergey Brin in 1998.<br><br>

Page is the chief executive officer (CEO) of Google's parent company, Alphabet Inc. After stepping aside as CEO in August 2001 in favour of Eric Schmidt, he re-assumed the role in April 2011. He announced his intention to step aside a second time in July 2015 to become CEO of Alphabet, under which Google's assets would be reorganized. Under Page, Alphabet is seeking to deliver major advancements in a variety of industries.<br><br>

Page is the inventor of PageRank, Google's best-known search ranking algorithm. Page received the Marconi Prize in 2004.
      
      </div>
      
      <div class="card-deck-wrapper">
  <div class="card-deck">
    <div class="card card-1">

      <div class="card-block">
        <h4 class="card-title"></h4>
       <blockquote class="blockquote"> <p class="card-text">If you're changing the world, you're working on important things. You're excited to get up in the morning.</p></blockquote>
         <footer class="blockquote-footer"><cite title="Source Title">Larry Page</cite></footer>
        <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
      </div>
    </div>
    <div class="card card-1">
      <div class="card-block">
        <h4 class="card-title"></h4>
        <blockquote class="blockquote"><p class="card-text">Especially in technology, we need revolutionary change, not incremental change.</p></blockquote>
        <footer class="blockquote-footer"><cite title="Source Title">Larry Page</cite></footer>
        <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
      </div>
    </div>
    <div class="card card-1">
      <!--<img class="card-img-top" src="..." alt="Card image cap">-->
      <div class="card-block">
        <h4 class="card-title"></h4>
       <blockquote class="blockquote"> <p class="card-text">Lots of companies don't succeed over time. What do they fundamentally do wrong? They usually miss the future.</p></blockquote>
        <footer class="blockquote-footer"><cite title="Source Title">Larry Page</cite></footer>
        <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
      </div>
    </div>
  </div>
</div>
        
      </div>      
</div>
    <br><br> 
  </div>
   <h4 class="text-md-center">You can read more about Larry Page here: <a href="https://en.wikipedia.org/wiki/Larry_Page">Link</a></h4>
         <hr>
</div>
<footer>
    <p class="text-md-center">Coded by <a href="https://www.facebook.com/vaibhavsingh2418" target="_blank">Vaibhav Singh</a></p>
  </footer>

              
            
!

CSS

              
                .g{
  color:#4285F4;
}
.o{
  color:#EA4335;
}
.o1{
  color:#FBBC05;
}
.l{
  color:#34A853;
}
.e{
  color:#EA4335;
}
body{
   background: #e2e1e0;
   margin: 5px 5px 5px 5px;
}

.card-1 {
  padding: 10px 10px 10px 10px;
  box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}

hr {
     color: #f00;
     background: #e0e0e0; 
     width: 100%; 
     height: 10%;
     box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}
.bold{
    font-family: Helvetica;
    font-weight: bold;
}
.table-responsive>.table>tbody>tr>td{
    horizontal-align: middle;
}
.card {
  margin: 0 auto; /* Added */
        float: none; /* Added */
        margin-bottom: 10px; /* Added */
}
              
            
!

JS

              
                
  $(document).ready(function(){
    $("#card1").css("center-block")   
});

              
            
!
999px
Two CSS properties walk into a bar. A barstool in a completely different bar falls over.

Console