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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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-fluid text-center">
 <div class="row">
   <div id="bg1" class="col-sm-10 col-sm-offset-1" style="margin-top:50px; padding-top:20px; border-radius:4px;"> 
     <h1><b>Sir Timothy John Berners-Lee</b></h1>
<h4>The man who ivented the World Wide Web </h4>
  <div id="bg2" class="col-sm-10 col-sm-offset-1" style="margin-top:10px; border-radius:4px; padding:5px 5px 0 5px;">
     <img class="img-responsive" src="https://www.w3.org/Press/Stock/Berners-Lee/2001-europaeum-eighth.jpg" width="850" height="500">
    <p>Sir Timothy implemented the first successful communication between a Hypertext Transfer Protocol (HTTP) client and server via the Internet.</p>
   </div>
     <div class="col-sm-8 col-sm-offset-2 text-left" style="background-color:#f1f1f1; margin-top:20px;">
       <h4>Sir Timothy's time line of achivements:</h4>
       <ul>
      <li>Tim Berners-Lee graduate of Oxford University.</li>
<li>In 1989 he invented the Web while at CERN, the European Particle Physics Laboratory. </li>
<li>1990 wrote the first web client and server. As the Web technology spread His specifications of URIs, HTTP and HTML were refined. </li>
<li>Tim is the 3Com Founders Professor of Engineering in the School of Engineering with a joint appointment in the Department of Electrical Engineering and Computer Science at the Laboratory for Computer Science and Artificial Intelligence (CSAIL) at the Massachusetts Institute of Technology (MIT) where he also heads the Decentralized Information Group (DIG). He is also a Professor in the Electronics and Computer Science Department at the University of Southampton, UK. </li>
<li>In 1994 he founded the World Wide Web Consortium (W3C) of the Web standards and became the Director of the organisation. </li>
<li>In 2001 he became a Fellow of the Royal Society. </li>
<li>H.M. Queen Elizabeth knighted him in 2004. </li>
<li>In 2009 he becomes a Director of the World Wide Web Foundation to coordinate efforts to further the potential of the Web to benefit humanity. In the same year, he was elected a foreign associate of the National Academy of Sciences. </li>
<li>Tim was named to the Board of Trustees of the Ford Foundation in 2011. </li>
<li>Tim, along with Vinton Cerf, Robert Kahn, Louis Pouzin and Marc Andreesen, was awarded the Queen Elizabeth Prize for Engineering for "ground-breaking innovation in engineering that has been of global benefit to humanity", on March 18, 2013. </li>
       </ul>
      <p> For any information, you should read <a href="https://en.wikipedia.org/wiki/Tim_Berners-Lee">more </a> about Tim's career  on his Wikipedia entry.</p>
     </div>
</div>
  
  </div>
   <hr width="86%">
  <footer class="col-sm-10 col-sm-offset-1 text-center">
  <p>Written and coded by <a href="#">Tofara Makombe</a></p>
</footer>
</div>
              
            
!

CSS

              
                p{margin-top:5px;}
h1{font-size:250%;
margin-top:50px;}
img {
      -webkit-filter: grayscale(90%);
      filter: grayscale(90%); 
      width: 100%; 
      margin: auto;
  }
              
            
!

JS

              
                 $(document).ready(function() {   
    $("#bg1").css("background-color", "#f1f1f1");   
   $("#bg2").css("background-color", "#fff");   
});
              
            
!
999px

Console