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

              
                <nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
  <div class="navbar-brand">Muhammed Karim</div>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>

  <div class="collapse navbar-collapse" id="navbarTogglerDemo02">
    <ul class="navbar-nav mr-auto mt-2 mt-lg-0">
      <li class="nav-item">
        <a class="nav-link" href="#home">Home</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#about">About</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#projects">Projects</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#skills">Skills</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#education">Education</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#contact">Contact</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="https://drive.google.com/open?id=1oCq2bRZ8R5Fx4X93HTNpy5q7VF2bVFHK" target="_blank">CV</a>
      </li>
    </ul>
  </div>
</nav>
<div class="container-fluid">
  <div class="row mb-4 mt-4" id="home">
    <div class="card sectioncard">
  <div class="card-body">
    <img src="https://s17.postimg.org/h73t0d1mn/2018.jpg" class="img-fluid" alt="Background">
    <h1>Creation Leads To Innovation</h1>
  </div>
</div>
  </div>
  <div class="row mb-4 mt-4" id="about">
    <div class="card sectioncard">
  <div class="card-header">
    About
  </div>
  <div class="card-body">
    <blockquote class="padding-10"><strong>|</strong> I am passionate about coding and want to continually improve...</blockquote>
    <p class="card-text padding-10">
Born and bred in London. I've embarked on a journey to pursue my goal of becoming an extremely competent developer. I'm <strong>honest</strong> and <strong>hard working</strong> and my other qualities fall under these two personal attributes.  I'm keen to learn and it takes a lot to distract me from a programming project at hand. By <em>‘burning the midnight oil’</em> I ensure each and every concept of my programmes are nothing but perfection. I peruse my code for any attempt to increase the potential of my projects. If there is any room for improvement, it will <strong>always</strong> be filled.</p>
  </div>
</div>
  </div>
  <div class="row mb-4" id="projects">
    <div class="card sectioncard">
      <div class="card-header">
    Projects
      </div>
      <div class="card-group">
      <div class="card" style="width: 15rem;">
        <img class="card-img-top" src="https://s17.postimg.org/kjj3qw5n3/Event_Invite.jpg" alt="Event Invite">
        <div class="card-body" style="padding-top:130px;">
          <h5 class="card-title inline">Event Invite</h5>
          <p class="card-text">Project created using <strong>HTML and CSS</strong></p>
          <a href="https://codepen.io/MuhammedK/full/aqBeJq/" class="btn btn-primary bottom" target="_blank">View Project</a>
        </div>
      </div>
    <div class="card" style="width: 15rem;">
      <img class="card-img-top" src="https://s17.postimg.org/ce11sq9of/Dinner_Plate.jpg" alt="Dinner Plate">
      <div class="card-body">
        <h5 class="card-title">Dinner Plate</h5>
        <p class="card-text">Project created using <strong>p5.js</strong></p>
        <a href="https://codepen.io/MuhammedK/full/MQpVEx/" class="btn btn-primary bottom" target="_blank">View Project</a>
      </div>
    </div>
  <div class="card" style="width: 15rem;">
    <img class="card-img-top" src="https://s17.postimg.org/nqdnaianj/Fish_Tank.jpg" alt="Fish Tank">
    <div class="card-body">
      <h5 class="card-title">Fish Tank</h5>
      <p class="card-text">Project created using <strong>p5.js</strong></p>
      <a href="https://codepen.io/MuhammedK/full/oEeYPM/" class="btn btn-primary bottom" target="_blank">View Project</a>
    </div>
  </div>
  <div class="card" style="width: 15rem;">
    <img class="card-img-top" src="https://s17.postimg.org/il4mnjsmn/Blog.jpg" alt="Blog">
    <div class="card-body" style="padding-top: 130px;">
      <h5 class="card-title">Blog</h5>
      <p class="card-text">Project created using <strong>HTML and CSS</strong></p>
      <a href="https://codepen.io/MuhammedK/full/VQKXJq/" class="btn btn-primary bottom" target="_blank">View Project</a>
    </div>
  </div>
</div>
</div>
  </div>
  <div class="row mb-4" id="skills">
    <div class="card sectioncard">
  <div class="card-header">
    Skills
  </div>
  <div class="card-deck">
  <div class="card" style="height:200px">
    <img class="card-img-top" src="https://s17.postimg.org/o9sdutd8v/HTML5_logo.jpg" alt="HTML">
    <div class="card-body">
      <h5 class="card-title">HTML</h5>
    </div>
  </div>
  <div class="card" style="height:200px">
    <img class="card-img-top" src="https://s17.postimg.org/l2xub6l33/CSS3_logo.jpg" alt="CSS">
    <div class="card-body">
      <h5 class="card-title">CSS</h5>
    </div>
  </div>
  <div class="card" style="height:200px">
    <img class="card-img-top" src="https://s17.postimg.org/unhgy2pun/JS5_logo.jpg" alt="Javascript">
    <div class="card-body">
      <h5 class="card-title">Javascript</h5>
    </div>
  </div>
  <div class="card" style="height:200px">
    <img class="card-img-top" src="https://s17.postimg.org/dzpyvk07z/BS_logo.jpg" alt="Bootstrap">
    <div class="card-body">
      <h5 class="card-title">Bootstrap</h5>
    </div>
  </div>
  <div class="card" style="height:200px">
    <img class="card-img-top" src="https://s17.postimg.org/swyfw085b/p5js_logo.jpg" alt="p5.js">
    <div class="card-body">
      <h5 class="card-title">p5.js</h5>
    </div>
  </div>
  <div class="card" style="height:200px">
    <img class="card-img-top" src="https://www.gabsoftware.com/wp-content/uploads/2010/01/visual_studio_logo.jpg" alt="Visual Basic">
    <div class="card-body">
      <h5 class="card-title">Visual Basic</h5>
    </div>
  </div>
</div>
</div>
</div>
  <div class="row mb-4" id="education">
    <div class="card sectioncard">
  <div class="card-header">
    Education
  </div>
  <div class="card-body">
    <table class="table">
  <thead class="greynwhite">
    <tr>
      <th scope="col">GCSEs</th>
      <th scope="col">Subject</th>
      <th scope="col">Grade</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th scope="row">1</th>
      <td>Mathematics</td>
      <td>A*</td>
    </tr>
    <tr>
      <th scope="row">2</th>
      <td>Arabic</td>
      <td>A*</td>
    </tr>
    <tr>
      <th scope="row">3</th>
      <td>Urdu</td>
      <td>A*</td>
    </tr>
    <tr>
      <th scope="row">4</th>
      <td>Science</td>
      <td>A</td>
    </tr>
    <tr>
      <th scope="row">5</th>
      <td>Additional Science</td>
      <td>A</td>
    </tr>
    <tr>
      <th scope="row">6</th>
      <td>History</td>
      <td>A</td>
    </tr>
    <tr>
      <th scope="row">7</th>
      <td>English</td>
      <td>B</td>
    </tr>
    <tr>
      <th scope="row">8</th>
      <td>Religious Education</td>
      <td>B</td>
    </tr>
    <tr>
      <th scope="row">9</th>
      <td>ICT</td>
      <td>C</td>
    </tr>
  </tbody>
      <thead class="greynwhite">
    <tr>
      <th scope="col">AS Levels</th>
      <th scope="col">Subject</th>
      <th scope="col">Grade</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th scope="row">1</th>
      <td>Urdu</td>
      <td>A</td>
    </tr>
    <tr>
      <th scope="row">2</th>
      <td>Mathematics</td>
      <td>C</td>
    </tr>
      </tbody>
</table>
    </div>
    </div>
  </div>
  <div class="row mb-4" id="contact">
    <div class="card sectioncard">
  <div class="card-header">
    Contact
  </div>
  <div class="card-body">
    <table>
      <tbody>
        <tr>
        <td><image src="https://s17.postimg.org/vpx5wrge7/Codepen.jpg" alt="codepen"></td>
        <td><a href="https://codepen.io/MuhammedK"><p>https://codepen.io/MuhammedK</p></a></td>
      </tr>
      <tr>
        <td><image src="https://s17.postimg.org/9pgtged8f/Mail.jpg" alt="mail"></td>
        <td><a href="mailto:muhammedkarim@hotmail.co.uk" target="_blank"><p>muhammedkarim@hotmail.co.uk</p></a></td>
          </tbody>
          </table>
    </div>
  </div>
</div>
  </div>
</div>
  </div>
              
            
!

CSS

              
                body{
  padding-top: 20px;
  margin: 0 20px 6rem 20px;
}
.row{
  min-height: 10em;
}
.sectioncard{
  width: 100vw;
}
.card-body>.img-fluid{
  width: 100vw;
  margin: 0;
  padding: 0;
}
.card-body{
  margin: 0;
  position: relative;
}
h1 {
  position: absolute;
  top: 20px;
  left: 25px;
}
h1:hover {
  color: white;
  font-size: 60px;
  font-weight: bold;
}
blockquote { 
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 40px;
  margin-right: 40px;
  color: #864313;
  font-weight: bold;
  font-size: 22px;
}
#projects>div>div {
  padding:10px;
}
.card-header {
  position:sticky;
  top:50px;
  z-index:1;
  background-color: #00b38f;
  color: white;
  font-weight: bold;
  font-size: 20px;
}
#about div {
  font-size: 18px;
}
.greynwhite {
  background-color: #a6a6a6;
  color: white;
}
#skills .card .card {
  height: 250px;
  padding: 10px;
}
.flex {
  display:flex;
}
.flex p {
  font-size: 15px;
  text-decoration: none;
}
#contact tbody {
  display: flex;
  justify-content:  space-between;
  width: 80vw;
  flex-wrap: wrap;
}
.bottom {
  align:bottom; 
}
              
            
!

JS

              
                
              
            
!
999px

Console