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

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

              
                <html>
  <head>
    <meta charset="utf-8">
    <title>My Portfolio</title>
    <link rel="stylesheet" type="text/css" href="main.css">
    <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
    <script src="https://use.fontawesome.com/e3f2eb396b.js"></script>
  </head>
 <body>
    <header id="header">
       <ul class="navigation">
         <li><a href="#aboutme">About me</a></li>
         <li><a href="#portfolio">My projects</a></li>
         <li><a href="#skills">Skills</a></li>
         <li><a href="#contact">Contact</a></li>
       </ul>
    </header>
   <main>
     <section class="section-info">
     <h1 id="aboutme">About me</h1>
     <div class="container-info">
       <div class="box">
         <i class="fa fa-user"></i>
           <div class="info-text">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ratione cupiditate impedit suscipit, eligendi alias atque autem quidem perferendis, mollitia voluptatibus totam sapiente molestias, blanditiis illum porro consectetur! Ab repellat, nesciunt.</p>
            </div>
       </div>
       <div class="box">
         <i class="fa fa-briefcase"></i>
           <div class="info-text">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ratione cupiditate impedit suscipit, eligendi alias atque autem quidem perferendis, mollitia voluptatibus totam sapiente molestias, blanditiis illum porro consectetur! Ab repellat, nesciunt.</p>
          </div>
       </div>
       <div class="box">
         <i class="fa fa-code"></i>
           <div class="info-text">
           <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ratione cupiditate impedit suscipit, eligendi alias atque autem quidem perferendis, mollitia voluptatibus totam sapiente molestias, blanditiis illum porro consectetur! Ab repellat, nesciunt.</p>
         </div>
       </div>
     </div>
     </section>
     <section class="section-portfolio">
       <h1 id="portfolio">My projects</h1>
       <div class="grid">
         <div class="cell">
           <a href="https://codepen.io/fpiguet/pen/qmYbwV" target="_blank"><img src="https://preview.ibb.co/hpyMT6/Screenshot_2017_10_27_15_53_00.png" alt="" class="preview"></a>
           <div class="cell-dsc">
            <ul class="taglist">
             <li class="tag-freecodecamp">#freecodecamp</li>
             <li class="tag-frontend">#frontend</li>
             <li class="tag-css">#CSS</li>
           </ul>
           <h2 class="title">#Tribute page</h2>
         </div>
         </div>
          <div class="cell">
           <a href="https://codepen.io/fpiguet/full/dZyZNm/" target="_blank"><img src="https://preview.ibb.co/igZT86/Screenshot_2017_10_29_00_34_20.png" alt="" class="preview"></a>
           <div class="cell-dsc">
            <ul class="taglist">
             <li class="tag-freecodecamp">#freecodecamp</li>
             <li class="tag-frontend">#frontend</li>
             <li class="tag-css">#CSS</li>
             <li class="tag-flexbox">#flexbox</li>
           </ul>
           <h2 class="title">#Webapp layout - v1</h2>
           </div>
         </div>
          <div class="cell">
           <a href="http://3.bp.blogspot.com/-MO75HK8n09Q/VB-TY1uHCnI/AAAAAAAADuc/ya00KVnvZ1s/s1600/Funny%2Bicons%2B41.png" target="_blank"><img src="https://cdn.dribbble.com/users/345022/screenshots/1117101/coding.png" alt="" class="preview"></a>
             <div class="cell-dsc">
              <ul class="taglist">
               <li class="tag-working">#work-in-progress</li>
              </ul>
               <h2 class="title">#to be coded</h2>
            </div>
           </div>
         </div>
        <div class="grid">
         <div class="cell">
           <a href="http://3.bp.blogspot.com/-MO75HK8n09Q/VB-TY1uHCnI/AAAAAAAADuc/ya00KVnvZ1s/s1600/Funny%2Bicons%2B41.png" target="_blank"><img src="https://cdn.dribbble.com/users/345022/screenshots/1117101/coding.png" alt="" class="preview"></a>
             <div class="cell-dsc">
              <ul class="taglist">
               <li class="tag-working">#work-in-progress</li>
              </ul>
               <h2 class="title">#to be coded</h2>
            </div>
           </div>
          <div class="cell">
           <a href="http://3.bp.blogspot.com/-MO75HK8n09Q/VB-TY1uHCnI/AAAAAAAADuc/ya00KVnvZ1s/s1600/Funny%2Bicons%2B41.png" target="_blank"><img src="https://cdn.dribbble.com/users/345022/screenshots/1117101/coding.png" alt="" class="preview"></a>
             <div class="cell-dsc">
              <ul class="taglist">
               <li class="tag-working">#work-in-progress</li>
              </ul>
               <h2 class="title">#to be coded</h2>
            </div>
           </div>
          <div class="cell">
           <a href="http://3.bp.blogspot.com/-MO75HK8n09Q/VB-TY1uHCnI/AAAAAAAADuc/ya00KVnvZ1s/s1600/Funny%2Bicons%2B41.png" target="_blank"><img src="https://cdn.dribbble.com/users/345022/screenshots/1117101/coding.png" alt="" class="preview"></a>
             <div class="cell-dsc">
              <ul class="taglist">
               <li class="tag-working">#work-in-progress</li>
              </ul>
               <h2 class="title">#to be coded</h2>
            </div>
           </div>
       </div>
     </section>
     <section class="section-skills">
       <h1 id="skills">Learning curve</h1>
        <div class="grid">
           <div class="cell-skills">
             <div class="image-cell"><a href="https://www.codecademy.com/quofal" target="_blank"><img src="https://i.imgur.com/9DLG6C3.png" alt="" class="preview-skills"></a>
              </div>
             <div class="cell-dsc">
              <ul class="taglist">
               <li class="tag-completed">Completed</li>
             </ul>
             <h2 class="title">Learn HTML</h2>
           </div>
           </div>
           <div class="cell-skills">
             <a href="https://www.codecademy.com/learn/make-a-website" target="_blank"><img src="https://i.imgur.com/9DLG6C3.png" alt="" class="preview-skills"></a>
             <div class="cell-dsc">
              <ul class="taglist">
               <li class="tag-completed">Completed</li>
             </ul>
             <h2 class="title">Make a website</h2>
           </div>
           </div>
          <div class="cell-skills">
             <div class="image-cell"><a href="https://www.udemy.com/flexbox-tutorial/learn/v4/overview" target="_blank"><img src="https://www.udemy.com/staticx/udemy/images/v6/logo-coral.svg" alt="" class="preview-skills"></a>
              </div>
             <div class="cell-dsc">
              <ul class="taglist">
               <li class="tag-completed">Completed</li>
             </ul>
             <h2 class="title">Flexbox</h2>
           </div>
           </div>
          <div class="cell-skills">
             <a href="https://www.freecodecamp.org/fpiguet" target="_blank" ><img src="https://design-style-guide.freecodecamp.org/downloads/freeCodeCamp-alternative.png" alt="" class="preview-skills"></a>
             <div class="cell-dsc">
              <ul class="taglist">
               <li class="tag-progress">In progress</li>
             </ul>
             <h2 class="title">Full stack developper</h2>
           </div>
           </div>
         </div>
     </section>
   </main>
   <footer id="contact">
    <div class="footer-top">Made at <i class="fa fa-home" aria-hidden="true"></i>
      with <br> <i class="fa fa-music" aria-hidden="true"></i> and <i class="fa fa-coffee" aria-hidden="true"></i>
    </div>
    <div class="footer-main">
      <div class="footer-left">
        <h3>About this page</h3>
        <p>This page was made as part of the Free Code Camp challenges. If you like what you see, or if you are just curious, you can contact me.</p>
        <div class="contact-me">
          <a href="mailto:[email protected]"><i class="fa fa-envelope" aria-hidden="true"></i></a>
        </div>
      </div>
      <div class="footer-middle">
        <h3>Follow me</h3>
        <div>
        <a href="https://www.linkedin.com/in/falkopiguet/" target="_blank"><i class="fa fa-linkedin" aria-hidden="true"></i></a>
        <a href="https://www.instagram.com/falquo/?hl=en" target="_blank"><i class="fa fa-instagram" aria-hidden="true"></i></a>
        <a href="https://www.freecodecamp.org/fpiguet" target="_blank"><i class="fa fa-free-code-camp" aria-hidden="true"></i></a>
      </div>
      </div>
      <div class="footer-right">
        <h3>Navigation</h3>
        <div>
        <ul class="footer-nav">
         <li><a href="#aboutme">About me</a></li>
         <li><a href="#portfolio">My projects</a></li>
         <li><a href="#skills">Skills</a></li>
       </ul>
     </div>
      </div>
    </div>
    <div class="footer-bottom">
      <p>Copyright © base7 All rights reserved.</p>
      </div>
   </footer>
  </body>
</html>
              
            
!

CSS

              
                html, body, div, span, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
img, ins, kbd, q, s, samp,
small, strike, strong, 
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
 
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/*large screen*/
.navigation {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
	align-items: center;
	background-color: #4484CE;
}

/*medium screen*/

@media all and (max-width: 800px) {
	.navigation {
		justify-content: space-around;
	}
}

/*small screen*/
@media all and (max-width: 500px) {
	.navigation {
		flex-flow: column wrap;
	}
	.container-info {
		flex-flow: column wrap;
	}
	.footer-main {
		flex-flow: column wrap;
	}

	.footer-top {
		margin-top: 15px;
		margin-bottom: 15px;
	}
	.footer-left {
		margin-top: 15px;
		margin-bottom: 15px;
	}
	.footer-middle {
		margin-top: 15px;
		margin-bottom: 15px;
	}
	.footer-right {
		margin-top: 15px;
		margin-bottom: 15px;
	}
}

.navigation a {
	color: white;
	text-decoration: none;
	display: block;
	padding: 1em;
}

.navigation a:hover {
	background-color: rgba(54,105,164, 0.3%);
	color: #c2d2e3;
}


* {
	font-family: 'Open Sans', sans-serif;
}

.container-info {
	display: flex;
	justify-content: center;
	background-color: rgba(54,105,164, 0.3%);
	margin: 10px 30px 30px 30px;
}

.box {
	padding: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
}
.info-text {
	color: #666666;
	letter-spacing: 1px;
	word-spacing: 4px;
	text-align: center;
}

.section-portfolio {
	background-color: #f8fcff;
}
.grid {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
}

.cell {
	padding: 0px 5px 5px 5px;
	margin: 15px;
	display: flex;
	flex-direction: column;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 0.5em 1.75em rgba(40,79,123,.1);
	height: 350px;
	justify-content: space-around;
}

.cell:hover {
	box-shadow: 0 1.5em 3em rgba(40,79,123,.2);
	cursor: pointer;
	background-color: ;
	transform: scale(1.1);
	transition: 0.3s;
}

.preview {
	width: 300px;
	height: 200px;
	margin: 7px;
	border-radius: 5px;
}

.img-cell {
	height: 85px;
	display: block;
	border: solid 1px black;
}

.cell-dsc {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	height: 130px;
}

.section-skills {
	padding-bottom: 30px;

}
.cell-skills {
	padding: 0px 5px 5px 5px;
	margin: 15px;
	display: flex;
	flex-direction: column;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 0.5em 1.75em rgba(0,0,0,.075);
	height: 300px;
	justify-content: space-around;
	flex-basis: 215px;
	flex-grow: 0;
}

.cell-skills:hover, .cell-skills:focus {
  	transform: translateY(-0.5em);
  	cursor: pointer;

}

.preview-skills {
	margin: 7px;
	border-radius: 5px;
	width: 150px;
}
.taglist {
	display: flex;
	flex-flow: row wrap;
	max-width: 250px;
}

li {
	background-color: #4484CE;
	margin: 2px;
	padding: 5px;
	border-radius: 5px;
	font-size: 12px;
	color: white;
	letter-spacing: 1px;
}

.tag-freecodecamp {
	background-color: #009688;
}

.tag-css {
	background-color: #ff9800;
}

.tag-frontend {
	background-color: #3f51b5;
}

.tag-flexbox {
	background-color: #db4437;
}

.tag-working {
	background-color: #673ab7;
}

.tag-completed {
	background-color: #4CAF50;
}

.tag-progress {
	background-color: #008CBA;
}
i.fa {
	color: #4484CE;
	font-size: 3em;
	padding: 5px 0px 30px 0px;
}

footer {
	background-color: #44CE84;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	margin-top: 0px;
	padding: 30px 20px 15px 20px; 
}

.footer-main {
	display: flex;
	justify-content: space-between;
	padding: 10px 15px 10px 15px;
	border-top: solid 0.5px #3d3d3d;
}

.footer-top {
	margin: auto;
	margin-bottom: 15px;
	font-size: 18px;
	color: #3d3d3d;
	letter-spacing: 1px;
	word-spacing: 2px;
	line-height: 140%;
	text-align: center;
}

.footer-left {
	padding: 0px 5px 0px 5px;
	font-size: 15px;
	color: #3d3d3d;
	letter-spacing: 1px;
	word-spacing: 2px;
	line-height: 140%;
	text-align: left;
	flex-basis: 33.3333%
}

.contact-me {
	text-align: center;
	margin-top: 5px;
}
.footer-middle {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	padding: 0px 5px 0px 5px;
	font-size: 15px;
	color: #3d3d3d;
	letter-spacing: 1px;
	word-spacing: 2px;
	line-height: 140%;
	text-align: left;
	flex-basis: 33.3333%

}

.footer-right {
	display: flex;
	flex-direction: column;
	flex-basis: 33.3333%;
	justify-content: flex-start;
	padding: 0px 5px 0px 5px;
	font-size: 15px;
	color: #3d3d3d;
	letter-spacing: 1px;
	word-spacing: 2px;
	line-height: 140%;
}

.footer-right a {
	text-decoration: none;
	font-size: 15px;
	letter-spacing: 1px;
	word-spacing: 1px;
	line-height: 2px;
	color: #3d3d3d;
	padding-left: 4px;
}

.footer-right li {
	background-color: transparent;
	margin: 2px;
	padding: 8px;
	border-radius: 5px;
	font-size: 12px;
	color: #3d3d3d;
	letter-spacing: 1px;
	text-align: center;
}

.footer-bottom {
	margin: auto;
	margin-top: 5px;
	font-size: 13px;
	color: #3d3d3d;
	letter-spacing: 1px;
	word-spacing: 2px;
	line-height: 140%;
}

.footer-left i {
	color: #efefef;
	font-size: 2.5em;
	padding: 5px 5px 5px 5px;
	width: 50px;
}
.footer-middle i {
	color: #efefef;
	font-size: 2.5em;
	padding: 5px 5px 5px 5px;
	width: 50px;
}

.footer-top i {
	color: #efefef;
	font-size: 1em;
	padding: 0px 2px 0px 0px;
	text-align: center;
	font-size: 15px;
	letter-spacing: 1px;
	word-spacing: 2px;
	line-height: 140%;
}

h1  {
	color: #666666;
	font-size: 38px;
	letter-spacing: 1px;
	word-spacing: 4px;
	text-align: center;
	padding: 30px 0px 30px 0px;
}

h2 {
	color: #666666;
	font-size: 20px;
	letter-spacing: 1px;
	word-spacing: 4px;
	text-align: center;
	padding: 10px 0px 20px 0px;
}

h3 {
	font-size: 20px;
	letter-spacing: 1px;
	word-spacing: 4px;
	text-align: center;
	padding: 10px 0px 20px 0px;
}
              
            
!

JS

              
                
              
            
!
999px

Console