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

              
                
<!doctype html>

<html lang="en">
<head>
    <title>My Webpage</title>
    <link
         rel="stylesheet"
          href="style.css">
    <meta chareset="UTF-8">
</head>
<body>
    
    <div class="logo">
        <img src="http://placehold.it/100x100/ff0000/ffffff?text=Logo">
            </div>
            <nav>
                <ul
                   
     <nav class="nav-horizontal">
        <ul class="links">
            <li>
                        <a href="HTML-1.html">Home</a>
                    </li>
    <li>
                        <a href="HTML-2.html">Work</a>
                    </li>
    <li>
                        <a href="HTML-3.html">About</a>
                    </li>
    <li>
                        <a href="HTML-4.html">Contact</a>
                    </li>
    </li>
        </ul>
    </nav>
    
    <div
    class="wrapper">
        <h1>Greg Jordan</h1>
            <p class="desc">I am Design Designer studying at London South bank University, this Portfolio displays the work I have produced during the terms of the first and second semester of University.</p>
         
            
    <div class="metro">
  <div class="md pull-left tatoo">
    <div class="seeallmd"><h1>+</h1></div>
    <div class="content-tatoo"></div>
  </div>
  <div class="lg pull-right fox">
    <div class="seealllg"><h1>+</h1></div>
    <div class="content-fox"></div>
  </div>
  <div class="sm pull-right water">
    <div class="seeallsm"><h1>+</h1></div>
    <div class="content-water"></div>
  </div>
  <div class="sm pull-left flower">
    <div class="seeallsm"><h1>+</h1></div>
    <div class="content-flower"></div>
  </div>
  <div class="md pull-left cars">
    <div class="seeallmd"><h1>+</h1></div>
    <div class="content-cars"></div>
  </div>
          
            
           <div class="wrapper">
        <h1>Contents</h1>
        <div class="courses">
            <div class="course">
                <img src="http://placehold.it/75x75">
                <h2>Course 1</h2>
            </div> <!--end of course-->
            <div class="course">
                <img src="http://placehold.it/75x75">
                <h2>Course 1</h2>
            </div> <!--end of course-->
            <div class="course">
                <img src="http://placehold.it/75x75">
                <h2>Course 1</h2>
            </div> <!--end of course-->
            <div class="course">
                <img src="http://placehold.it/75x75">
                <h2>Course 1</h2>
            </div> <!--end of course-->
            <div class="course">
                <img src="http://placehold.it/75x75">
                <h2>Course 1</h2>
            </div> <!--end of course-->
            <div class="course">
                <img src="http://placehold.it/75x75">
                <h2>Course 1</h2>
            </div> <!--end of course-->
            <div class="course">
                <img src="http://placehold.it/75x75">
                <h2>Course 1</h2>
            </div> <!--end of course-->
            <div class="course">
                <img src="http://placehold.it/75x75">
                <h2>Course 1</h2>
            </div> <!--end of course-->
            <div class="course">
                <img src="http://placehold.it/75x75">
                <h2>Course 1</h2>
            </div> <!--end of course-->
        </div> <!--end of courses-->
            <div
                    <img
        src="Brushes1.jpg" id="bg" alt="">
            </div>
            <nav> 
</body>
</html>
              
            
!

CSS

              
                html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body { background-color: #909CAD; }
#bg { position: fixed; top: 0; left: 0; }
.bgwidth { width: 100%; }
.bgheight { height: 100%; }

.wrapper {
    width:1120px;
    margin: 0 auto;
}

img {
    
}

.links{
  display: flex;
}

.logo {
    display: flex;
    justify-content: center;
    padding: 3em;
}

.logo img {
   width:200;
}


.nav-links {
    display: flex;
    list-style: none;
    width: 70%;
    height: 3em;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

 nav, ul, li, a {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: verdana, sans-serif;
}

.courses{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.course{
  width: 32%;
  background: #DDDDDD;
  margin-bottom: 20px;
  display: flex;
  border-radius: 10px 40px 10px 40px;
  padding: 10px ;
  box-shadow: 5px 5px 4px black;
}
h2{
  margin-left: 20px;
}

.nav-horizontal li {
    width: 120px; /* Width of link */
    float: left; /*Line up the links horizontally*/
    margin-right: 10px; /*Spacing between links*/
}

.nav-horizontal a {
    color: white; /*The text color of the link*/
    display: block; /*This is needed so that the link expands to the width and height of its parent*/
    text-align: center;
    background-color: grey; /* The background color of the link */
    padding: 8px 0; /*Padding top and bottom is 8px*/
    border-radius: 8px; /*Creates rounded corners on the links*/
}

.nav-horizontal a:hover {
    background-color: black;
    /*When you move the mouses over a link the background becomes black*/
}


/*This is needed to fix a side effect of floating an element*/

@import url(https://fonts.googleapis.com/css?family=Roboto:300);

html {
  height: 100%;
  width: 100%;
  background: url(http://img.wallpaperstock.net:81/blurred-placebo-wallpapers_34011_1920x1080.jpg) no-repeat center;
  background-size: cover;
  font-family: 'Roboto', sans-serif;
}

.metro {
  width: 880px;
  margin: 0 auto;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.sm {
  position: relative;
  width: 150px;
  height: 150px;
  background: #111;
  margin: 5px;
  overflow: hidden;
}

.md {
  position: relative;
  width: 300px;
  height: 150px;
  background: #111;
  margin: 5px;
  overflow: hidden;
}

.lg {
  position: relative;
  width: 400px;
  height: 310px;
  background: #111;
  margin: 5px;
  overflow: hidden;
}

.seeallmd {
  width: 100px;
  height: 150px;
  background: #fff;
  position: absolute;
  right: -100px;
  transition: all 1s;
  z-index: 100;
}

.seeallmd h1 {
  font-size: 6em;
  text-align: center;
  margin-top: 10px;
}

.seeallsm {
  width: 150px;
  height: 50px;
  background: #fff;
  position: absolute;
  bottom: -50px;
  transition: all 1s;
  z-index: 100;
}

.seeallsm h1 {
  font-size: 3em;
  text-align: center;
  margin-top: -10px;
}

.seealllg {
  width: 400px;
  height: 100px;
  background: #fff;
  position: absolute;
  top: -100px;
  transition: all 1s;
  z-index: 100;
}

.seealllg h1 {
  font-size: 6em;
  text-align: center;
  margin-top: -20px;
}

.content-tatoo {
  position: relative;
  left: 0;
  height: 150px;
  width: 300px;
  background: url(file:///C:/Users/User/Documents/Digital%20Design/Komodo%20Webpage/sunset.jpg) no-repeat center;
  background-size: cover;
  transition: all 1s;
  z-index: 50;
}

.content-cars {
  position: relative;
  left: 0;
  height: 150px;
  width: 300px;
  background: url(file:///C:/Users/User/Documents/Digital%20Design/Komodo%20Webpage/Barbados.jpg) no-repeat center;
  background-size: cover;
  transition: all 1s;
  z-index: 50;
}

.content-water {
  position: relative;
  top: 0;
  height: 150px;
  width: 150px;
  background: url(file:///C:/Users/User/Documents/Digital%20Design/Komodo%20Webpage/CD%20Cover-%20Gregs%20Polygon.jpg) no-repeat center;
  background-size: cover;
  transition: all 1s;
  z-index: 50;
}

.content-flower {
  position: relative;
  top: 0;
  height: 150px;
  width: 150px;
  background: url(file:///C:/Users/User/Documents/Digital%20Design/Komodo%20Webpage/skullhat_edited.jpg) no-repeat center;
  background-size: cover;
  transition: all 1s;
  z-index: 50;
}

.content-fox {
  position: relative;
  top: 0;
  height: 310px;
  width: 400px;
  background: url(file:///C:/Users/User/Documents/Digital%20Design/Komodo%20Webpage/Hornhound_edited2.jpg) no-repeat center;
  background-size: cover;
  transition: all 1s;
  z-index: 50;
}


.cars:hover .content-cars, .tatoo:hover .content-tatoo {
  left: -100px;
}

.cars:hover .seeallmd, .tatoo:hover .seeallmd{
  right: 0;
}

.water:hover .content-water, .flower:hover .content-flower {
  top: -50px;
}

.water:hover .seeallsm, .flower:hover .seeallsm {
  bottom: 0;
}

.fox:hover .content-fox {
  top: 100px;
}

.fox:hover .seealllg {
  top: 0;
}

.wallpaper{
    display: flex;
    justify-content: left;
    padding: 3em;
}

.wallpaper img {
   width:120px;
   
}
              
            
!

JS

              
                
              
            
!
999px

Console