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

              
                <!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">
</head>

<body>
  <div class="page-container">
    <nav id="navbar">
      <ul id="nav-list">
        <li><a class="nav-item" href="#about">About</a></li>
        <li><a class="nav-item" href="#projects">Projects</a></li>
        <li><a class="nav-item" href="#contact">Contact</a></li>
      </ul>
    </nav>
    <section class="pane" id="about">
      <h1 id="hello">Hey, I'm Oli</h1>
      <h2 id="hello2">I'm a web developer</h2>
    </section>

    <section class="pane" id="projects">
      <h2 class="pane-title">PROJECTS</h2>
      <div class="pane-title-underline"></div>
      <div id="proj-grid">

        <div class="card" id="prog-1-card">
          <img class="card-image" src="https://previews.dropbox.com/p/thumb/AAhQq1iWiMwCpkt8PoLJMKDJ5uwvI12NbdKXhL2t37sFhtmYIE448cHeCs4I1nnLMIgixrAIUkWq15VJ1wVUP_uiwljhCGhPN-3dynu9gU4sJUv-fHyrXvPxFvvFMGej9-ldC_g6VZh6caJ34pDVFFL5a4wZcFQisXgZbmkHpiGv4zxc_ib_8LLxq3-49I9LRPaTSHgVrdc2NtwYcc3_xgMmF46xLoZvAtMssWjbxSSL0suX6g1MYPdkb9dqcD4f4UrveNsoCqlVZARKt6vjrHdf0fMzC4PclscUJQQ-eODHq94DMO5RSlM8LEvroV4sCfx0maXEBfjbQX5refvVFLCg7nYFBR-q3QK8viVDWVnala5EQZA49S_ZLgFsIwdXUnGuA-5idTq1jd-GSz_Sc25JbgZyDQcmnU6Nu7qQvCOStA/p.png?fv_content=true&size_mode=5" alt="project" />
          <div class="text" id="prog-1-text">
            <div class="title-top" id="prog-1-title-top">His Adventure</div>
            <div class="title-bottom" id="prog-1-title-bottom">Created an iOS game using GameSalad developemnt tools. His Adventure reacher #1 on the French App Store with over 250,000 downloads.</div>
          </div>
          <div class="proj-button" id="prog-1-button">
            <span class="code-left">&lt;</span>
            <a href="http://arcade.gamesalad.com/games/153110" target="_blank" class="proj-button-link">Learn More</a>
            <span class="code-right">&#47;&gt;</span></div>
        </div>

        <div class="card" id="prog-2-card">
          <img class="card-image" src="https://previews.dropbox.com/p/thumb/AAiawgk73s-jvzfHM0ys1wraS9I_xZSuKLCEZ5lIYE2uR2HuE1I_Xowc2cyEa0cgI_8fZ8ByzdOqgvKXPqfOcJS7yRWXLjWgbqW_s9pgmJuKcgcevgu7AX2kTb0L2ecHzXl48h31Jn8juZI7ps9CCm-9K-FBJpaJ8LcFFA-Z6uuvoekEf3rS1tqQJ44R_r6QH9RdfYnZyKtZbjTsQ_JIt1zV_IJ0kCCT7g6BFHEfBDgqddbw8v-zcshbYmIA_d-pbvBEclv8UUol65PVHt1kI1Ka2kdV5C50BdrvYqiZ76SsCW_x9T-c9Q9fp0rMkDrKuh-0xVh4W6QCyLui8hooofVBeNT1aqFBMMbYPHnlXY_9N-1DiNN9O351dU_p_E4HsBc4MtdiVnWFbabMcb3Zb3KyS_SbY1Sx2XD77F0lHpVu-g/p.png?fv_content=true&size_mode=5" alt="project" />
          <div class="text" id="prog-2-text">
            <div class="title-top" id="prog-2-title-top">Castle Runner</div>
            <div class="title-bottom" id="prog-2-title-bottom">Created iOS game with GameSalad development tools. Sold distribution rights to Touchten Games.</div>
          </div>
          <div class="proj-button" id="prog-2-button">
            <span class="code-left">&lt;</span>
            <a href="http://arcade.gamesalad.com/games/153113" target="_blank" class="proj-button-link">Learn More</a>
            <span class="code-right">&#47;&gt;</span></div>
        </div>

        <div class="card" id="prog-3-card">
          <img class="card-image" src="https://previews.dropbox.com/p/thumb/AAgB332uoRC87UbbCo0BOT9bf7Vjmu3KuyqNepnDMj00X5ho_kp0kGRFfASpHOojfPiY03HurvFO8RcYR510AzO6xZUlxpzyupaV46quyHNVGaUupbHrMQ9bZia9rMom7brSDblXwr2DVpKVSybgjEq-2cpj421w1khmavzcqGcOMjjPCS9iMLD0EF_Bohc9DmkRpfnD5t7yqhgB9JeZK92fAVB1uv9dfyVJjS-hjaQdvH41kFpnylPLVnV0sLPx3b1TvCBh1hD8pvRu7Sa0HQImUZTQdzszntkdSj8zh0_s8YvRXUeeKkL-qSWbPatk9FrpoScy4bmdNsEeVRZPuM6WBFw222epb1WMCIVK6M4LC9g5CrZ3UYy_Fj7xX1fUKi0FILOJpTElXdP7b5rlK2g4Kjlo8zQH8uE9cFyGa7Ipbg/p.png?fv_content=true&size_mode=5" alt="project" />
          <div class="text" id="prog-3-text">
            <div class="title-top" id="prog-3-title-top">Prodcut Landing Page</div>
            <div class="title-bottom" id="prog-3-title-bottom">A basic responsive home page implementing flexbox</div>
          </div>
          <div class="proj-button" id="prog-3-button">
            <span class="code-left">&lt;</span>
            <a href="https://codepen.io/opezzini/pen/EqYqRG" target="_blank" class="proj-button-link">Learn More</a>
            <span class="code-right">&#47;&gt;</span></div>
        </div>

        <div class="card" id="prog-4-card">
          <img class="card-image" src="http://jetprogramme.org/wp-content/uploads/2017/03/Square-Instagram-Logo.png" alt="project" />
          <div class="text" id="prog-4-text">
            <div class="title-top" id="prog-4-title-top">Example 4</div>
            <div class="title-bottom" id="prog-4-title-bottom">Example text</div>
          </div>
          <div class="proj-button" id="prog-4-button">
            <span class="code-left">&lt;</span>
            <a href="https://coepen.io/FreeCodeCamp/" target="_blank" class="proj-button-link">Learn More</a>
            <span class="code-right">&#47;&gt;</span></div>
        </div>

        <div class="card" id="prog-5-card">
          <img class="card-image" src="http://jetprogramme.org/wp-content/uploads/2017/03/Square-Instagram-Logo.png" alt="project" />
          <div class="text" id="prog-5-text">
            <div class="title-top" id="prog-5-title-top">Example 5</div>
            <div class="title-bottom" id="prog-5-title-bottom">Example text</div>
          </div>
          <div class="proj-button" id="prog-5-button">
            <span class="code-left">&lt;</span>
            <a href="https://coepen.io/FreeCodeCamp/" target="_blank" class="proj-button-link">Learn More</a>
            <span class="code-right">&#47;&gt;</span></div>
        </div>

      </div>
    </section>

    <section class="pane" id="contact">
      <h2 class="pane-title">CONTACT</h2>
      <div class="pane-title-underline"></div>
      <h3>Let's work together...</h3>

      <div class="contact-container">
        
        <a href="https://github.com/olster11" target="_blank" class="contact-details">
          <i class="fab fa-github"></i> GitHub
        </a>
        
        <a href="https://www.linkedin.com/feed/" target="_blank" class="contact-details">
          <i class="fab fa-linkedin-in"></i> LinkedIn
        </a>
        
         <a href="mailto:[email protected]" class="contact-details">
          <i class="fas fa-at"></i> Email
        </a>
        
      </div>

    </section>

    <a href="#about" class="btn btn-show-all"><i class="fas fa-angle-double-up"></i
  ></a>

    <footer>
      <p>© 2019 Olivier Pezzini-Picart</p>
    </footer>

  </div>
</body>
  </html>
              
            
!

CSS

              
                * {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  z-index: 1;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  magin-top: 100px;
  text-align: center;
}

.page-container {
  min-width: 320px;
}

#navbar {
  position: fixed;
  width: 100vw;
  z-index: 2;
  box-shadow: 1px 1px 5px;
}

#nav-list {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  text-align: right;
  background-color: #db4f3a;
}

#nav-list li {
  padding: 0px;
}

.nav-item {
  display: block;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 20px 20px;
  background-color: #db4f3a;
}

.nav-item:hover {
  background-color: #4398ff;
}

@media (max-width: 500px) {
  #nav-list {
    justify-content: center;
  }
}

#about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  height: 100vh;
  background-color: #000;
  background-image: linear-gradient(62deg, #3a3d40 0%, #181719 100%);
}

#hello {
  text-align: center;
  color: white;
  font-size: 4.5rem;
  text-shadow: 7px 7px 5px #1c1b1b;
  white-space: wrap;
  width: 100vw;
  min-width: 320px;
}

#hello2 {
  color: #4398ff;
  margin-top: 15px;
  font-size: 2.1rem;
  font-family: "Courier New", serif;
  text-shadow: 7px 7px 5px #1c1b1b;
  white-space: wrap;
  width: 100vw;
  text-align: center;
  min-width: 320px;
}

/*PROJECTS SECTION*/
#projects {
  height: ;
  background-color: #F5F5F5;
  
}

.pane-title{
  padding: 80px 10px 10px 10px ;
  color: #444649;
  font-size: 2.3rem;
}

.pane-title-underline{
  height: 4px;
  width: 100px;
  max-height: 20px;
  margin: 0 auto 30px auto;
 background-color: #444649;
  border-radius: 10px;
}


/*GRID CSS*/
#proj-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  background-color: #F5F5F5;
  max-width: 1000px;
  margin: 0 auto;
}

/*CARD CSS*/
.card {
  height: 250px;
  width: 250px;
  min-height: 250px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-color: red;
  background: white;
  position: relative;
 

}

.card-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  -webkit-transition: opacity 0.4s ease-in-out;
 
}

.card:hover > .card-image {
  opacity: 0.1;
}

.text {
  opacity: 0;
  top: 8%;
  transition: opacity 0.4s ease-in-out;
  position: absolute;
  pointer-events: none;
}

.title-top {
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 1.5rem;
  color: black;
}

.title-bottom {
  font-size: 1rem;
  font-weight: ;
  color: #444649;
}

.card:hover > .text {
  opacity: 1;
}

.proj-button {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  opacity: 0;
  bottom: 0%;
  transition: margin-bottom 0.4s ease-in-out, opacity 0.4s ease-in-out;
  position: absolute;
  height: 40px;
}


.card:hover > .proj-button {
  margin-bottom: 20%;
  opacity: 1;
}

.card:hover > .proj-button-link {
  text-decoration: none;
  opacity: 1;
}

.proj-button-link {
  padding: 10px 20px;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid #db4f3a;
  color: #444649;
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}

.proj-button-link:hover {
  background-color: #db4f3a;
  color: white;
}

.code-left {
  transition: margin-left 0.4s ease-in-out, opacity 0.4s ease-in-out;
  color: #db4f3a;
  font-size: 1.6rem;
  opacity: 0;
}

.code-right {
  transition: margin-right 0.4s ease-in-out, opacity 0.4s ease-in-out;
  color: #db4f3a;
  font-size: 1.6rem;
  opacity: 0;
}

.proj-button:hover .code-left {
  margin-left: 15%;
  opacity: 1;
}

.proj-button:hover .code-right {
  margin-right: 15%;
  opacity: 1;
}

/*CONTACT SECTION*/
#contact{
  
}

.contact-container{
  display:flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: center;
  margin-top:40px;
  margin-bottom:40px;
 
}

.contact-details{
  padding: 20px;
  transition: transform 0.3s ease-out;
  text-decoration: none;
  color: #444649;
  text-shadow: 1px 1px 1px black;
  font-size: 2rem;
  
}

.contact-details:hover {
  transform: translatey(5px);
}

#contact h3{
   padding: 20px;
  text-decoration: none;
  color: #444649;
  font-size: 2rem;
}


/*FOOTER*/

.btn-show-all {
  font-size: 2rem;
   background-color: #4398ff;
  padding: 15px;
  color: white; 
  position: relative;
  top: 20px;
}

.btn-show-all:hover > i {
  transform: translatey(-5px);
}

.btn-show-all > i {
  transition: transform 0.3s ease-out;
}


footer{
  height:100px;
   background-color: #444649;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
    background-color: #000;
  background-image: linear-gradient(262deg, #3a3d40 0%, #181719 100%);
}

footer p{
  height: 50%;
}


              
            
!

JS

              
                
              
            
!
999px

Console