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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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>
  <title> Mercy Adams' Portfolio</title>
  <!-- <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1"> -->
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
  <!-- Latest compiled and minified CSS -->
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

  <!-- Latest compiled and minified JavaScript -->
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>


<body>


  <!-----  a navi bar of sort in the middle -->
  <div class="divider">
    <div class="navbar navbar-fixed-top  .navbar-toggleable-xs .navbar-toggleable-sm .navbar-toggleable-md">
      <a class="navbar-brand" href="#">
        <img src="http://res.cloudinary.com/jidemobell/image/upload/v1495413380/prinmialogo_er4dby.png" />

      </a>

      <div class="phonenumber">
        <span class="navbar-text pull-right">+1-243-56778</span>
      </div>

      <div>
        <ul class="list-inline  pull-right">
          <li>
            <a href="#" class="fa fa-facebook fa-top "></a>
          </li>
          <li>
            <a href="#" class="fa fa-twitter fa-top"></a>
          </li>
          <li>
            <a href="#" class="fa fa-pinterest fa-top"></a>
          </li>
          <li>
            <a href="#" class="fa fa-paper-plane-o fa-top"></a>
          </li>
          <li>
            <a href="#" class="fa fa-snapchat-square fa-top"></a>
          </li>
        </ul>
      </div>

    </div>
  </div>


  <!-- middle bar ends here -->
  <div class="infoCenter">
    <div class="row ">

      <div class="infop col-md-6">
        <p> This is a suppose to be a very long dummy content <br> This is a dummy content <br> This is a dummy content <br> This is a dummy portfolio <br>click
          <a href="#portfolio" class="to-portfolio"> <i class="fa fa-arrow-circle-o-right" aria-hidden="true"></i></a> to see my portfolio
        </p>
      </div>
      <div>
        <img src="http://res.cloudinary.com/jidemobell/image/upload/v1494869379/canva-photo-editor_urncdx.png" class="avatar" />
      </div>
    </div>
  </div>


  <div class="middlebar">
    <div class="navbar   .navbar-toggleable-xs .navbar-toggleable-sm .navbar-toggleable-md  ">

      <span class="navbar-text midbartext"> For Inquiries about design , pattern drafting and production, please mail me <a href="#footer"> <i class="fa fa-envelope-o" aria-hidden="true"></i></a> </span>
    </div>


    <div class="container" id="portfolio">

      <div class="row  firstrow">

        <div class="col-xs-12 col-sm-6 col-md-3">
          <div class="imgborder s4">
            <img src="https://placehold.it/220x200" />

          </div>
        </div>

        <div class="col-xs-12 col-sm-6 col-md-3">
          <div class="imgborder s4">
            <img src="https://placehold.it/220x200" />

          </div>
        </div>

        <div class="col-xs-12 col-sm-6 col-md-3">
          <div class="imgborder s4">
            <img src="https://placehold.it/220x200" />

          </div>
        </div>

        <div class="col-xs-12 col-sm-6 col-md-3">
          <div class="imgborder s4">
            <img src="https://placehold.it/220x200" />

          </div>
        </div>

      </div>

      <br>
      <br>


      <div class="row  secondtrow">

        <div class="col-xs-12 col-sm-6 col-md-3">
          <div class="imgborder s4">
            <img src="https://placehold.it/220x200" />

          </div>
        </div>

        <div class="col-xs-12 col-sm-6 col-md-3">
          <div class="imgborder s4">
            <img src="https://placehold.it/220x200" />

          </div>
        </div>

        <div class="col-xs-12 col-sm-6 col-md-3">
          <div class="imgborder s4">
            <img src="https://placehold.it/220x200" />

          </div>
        </div>

        <div class="col-xs-12 col-sm-6 col-md-3">
          <div class="imgborder s4">
            <img src="https://placehold.it/220x200" />

          </div>
        </div>

      </div>

    </div>

    <div id="footer">
      <span class="copyright">&copy;2017 Jide Mobell</span>

      <span class="my-address">4305 Round Stone dr. Snellville, Georgia</span>

      <span class="mymail pull-right "> email: me@prinmia.com </span>

    </div>

  </div>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>


</html>
              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css?family=Dosis|Indie+Flower|Open+Sans+Condensed:300|Pacifico|Poiret+One|Kaushan+Script");

/* components */

.avatar {
  border-radius: 50%;
  width: 200px;
}

.card {
  width: 83.8%;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 25px;
}

.cardtext {
  text-align: center;
  padding: 10px 20px;
}

.btn-medium {
  color: black;
  border: 1px solid rgba(78, 83, 193, 1);
  padding: 10px 15px;
  border-radius: 50px;
  font-weight: lighter;
  opacity: 0.6;
  text-decoration: none;
  font-weight: bold;
}


/*animation*/

.bounce {
  animation: animationFrames linear 0.8s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  -webkit-animation: animationFrames linear 0.8s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: animationFrames linear 0.8s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -o-animation: animationFrames linear 0.8s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -ms-animation: animationFrames linear 0.8s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
}

@keyframes animationFrames {
  0% {
    transform: translate(0px, 0px);
  }
  15% {
    transform: translate(0px, -25px);
  }
  30% {
    transform: translate(0px, 0px);
  }
  45% {
    transform: translate(0px, -15px);
  }
  60% {
    transform: translate(0px, 0px);
  }
  75% {
    transform: translate(0px, -5px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

@-moz-keyframes animationFrames {
  0% {
    -moz-transform: translate(0px, 0px);
  }
  15% {
    -moz-transform: translate(0px, -25px);
  }
  30% {
    -moz-transform: translate(0px, 0px);
  }
  45% {
    -moz-transform: translate(0px, -15px);
  }
  60% {
    -moz-transform: translate(0px, 0px);
  }
  75% {
    -moz-transform: translate(0px, -5px);
  }
  100% {
    -moz-transform: translate(0px, 0px);
  }
}

@-webkit-keyframes animationFrames {
  0% {
    -webkit-transform: translate(0px, 0px);
  }
  15% {
    -webkit-transform: translate(0px, -25px);
  }
  30% {
    -webkit-transform: translate(0px, 0px);
  }
  45% {
    -webkit-transform: translate(0px, -15px);
  }
  60% {
    -webkit-transform: translate(0px, 0px);
  }
  75% {
    -webkit-transform: translate(0px, -5px);
  }
  100% {
    -webkit-transform: translate(0px, 0px);
  }
}

@-o-keyframes animationFrames {
  0% {
    -o-transform: translate(0px, 0px);
  }
  15% {
    -o-transform: translate(0px, -25px);
  }
  30% {
    -o-transform: translate(0px, 0px);
  }
  45% {
    -o-transform: translate(0px, -15px);
  }
  60% {
    -o-transform: translate(0px, 0px);
  }
  75% {
    -o-transform: translate(0px, -5px);
  }
  100% {
    -o-transform: translate(0px, 0px);
  }
}

@-ms-keyframes animationFrames {
  0% {
    -ms-transform: translate(0px, 0px);
  }
  15% {
    -ms-transform: translate(0px, -25px);
  }
  30% {
    -ms-transform: translate(0px, 0px);
  }
  45% {
    -ms-transform: translate(0px, -15px);
  }
  60% {
    -ms-transform: translate(0px, 0px);
  }
  75% {
    -ms-transform: translate(0px, -5px);
  }
  100% {
    -ms-transform: translate(0px, 0px);
  }
}

.shake {
  animation: animationFrames linear 1s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  -webkit-animation: animationFrames linear 1s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: animationFrames linear 1s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -o-animation: animationFrames linear 1s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -ms-animation: animationFrames linear 1s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
}

@keyframes animationFrames {
  0% {
    transform: translate(0px, 0px);
  }
  10% {
    transform: translate(-10px, 0px);
  }
  20% {
    transform: translate(10px, 0px);
  }
  30% {
    transform: translate(-10px, 0px);
  }
  40% {
    transform: translate(10px, 0px);
  }
  50% {
    transform: translate(-10px, 0px);
  }
  60% {
    transform: translate(10px, 0px);
  }
  70% {
    transform: translate(-10px, 0px);
  }
  80% {
    transform: translate(10px, 0px);
  }
  90% {
    transform: translate(-10px, 0px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

@-moz-keyframes animationFrames {
  0% {
    -moz-transform: translate(0px, 0px);
  }
  10% {
    -moz-transform: translate(-10px, 0px);
  }
  20% {
    -moz-transform: translate(10px, 0px);
  }
  30% {
    -moz-transform: translate(-10px, 0px);
  }
  40% {
    -moz-transform: translate(10px, 0px);
  }
  50% {
    -moz-transform: translate(-10px, 0px);
  }
  60% {
    -moz-transform: translate(10px, 0px);
  }
  70% {
    -moz-transform: translate(-10px, 0px);
  }
  80% {
    -moz-transform: translate(10px, 0px);
  }
  90% {
    -moz-transform: translate(-10px, 0px);
  }
  100% {
    -moz-transform: translate(0px, 0px);
  }
}

@-webkit-keyframes animationFrames {
  0% {
    -webkit-transform: translate(0px, 0px);
  }
  10% {
    -webkit-transform: translate(-10px, 0px);
  }
  20% {
    -webkit-transform: translate(10px, 0px);
  }
  30% {
    -webkit-transform: translate(-10px, 0px);
  }
  40% {
    -webkit-transform: translate(10px, 0px);
  }
  50% {
    -webkit-transform: translate(-10px, 0px);
  }
  60% {
    -webkit-transform: translate(10px, 0px);
  }
  70% {
    -webkit-transform: translate(-10px, 0px);
  }
  80% {
    -webkit-transform: translate(10px, 0px);
  }
  90% {
    -webkit-transform: translate(-10px, 0px);
  }
  100% {
    -webkit-transform: translate(0px, 0px);
  }
}

@-o-keyframes animationFrames {
  0% {
    -o-transform: translate(0px, 0px);
  }
  10% {
    -o-transform: translate(-10px, 0px);
  }
  20% {
    -o-transform: translate(10px, 0px);
  }
  30% {
    -o-transform: translate(-10px, 0px);
  }
  40% {
    -o-transform: translate(10px, 0px);
  }
  50% {
    -o-transform: translate(-10px, 0px);
  }
  60% {
    -o-transform: translate(10px, 0px);
  }
  70% {
    -o-transform: translate(-10px, 0px);
  }
  80% {
    -o-transform: translate(10px, 0px);
  }
  90% {
    -o-transform: translate(-10px, 0px);
  }
  100% {
    -o-transform: translate(0px, 0px);
  }
}

@-ms-keyframes animationFrames {
  0% {
    -ms-transform: translate(0px, 0px);
  }
  10% {
    -ms-transform: translate(-10px, 0px);
  }
  20% {
    -ms-transform: translate(10px, 0px);
  }
  30% {
    -ms-transform: translate(-10px, 0px);
  }
  40% {
    -ms-transform: translate(10px, 0px);
  }
  50% {
    -ms-transform: translate(-10px, 0px);
  }
  60% {
    -ms-transform: translate(10px, 0px);
  }
  70% {
    -ms-transform: translate(-10px, 0px);
  }
  80% {
    -ms-transform: translate(10px, 0px);
  }
  90% {
    -ms-transform: translate(-10px, 0px);
  }
  100% {
    -ms-transform: translate(0px, 0px);
  }
}

.imgborder {
  display: inline-block;
  position: relative;
  border: 1px solid #ccc;
  padding: 3px;
  background: #f2f2f2;
  margin-bottom: 30px;
}

.s4:before,
.s4:after {
  content: "";
  position: absolute;
  z-index: -1;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  top: 50%;
  bottom: 0;
  left: 10px;
  right: 10px;
  -moz-border-radius: 100px / 10px;
  border-radius: 100px / 10px;
}


/*components end here */

body {
  rgba(78,
  82,
  192,
  0.5);
}

.divider .navbar {
  background-color: rgba(78, 82, 192, 0.3);
}

.divider ul {
  margin-top: 17px;
  font-size: 18px;
  letter-spacing: 15px;
}

.divider ul li a {
  color: black;
}

.branded {
  color: black;
  font-family: 'Kaushan Script', cursive;
  font-size: 50px;
  font-weight: 100;
}

.navbar-brand img {
  width: 70px;
  margin: -11px;
}

.infoCenter {
  margin-top: 100px;
  margin-bottom: 50px;
}

.infop {
  color: white;
  margin: 50px 100px 10px;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 22px;
  text-align: right;
}

.infoCenter .infop p {
  color: black;
}

hr {
  height: 5px;
  background-color: grey;
  margin: 0px;
  border: 0px none;
}

.middlebar .navbar {
  border-radius: 0px;
  background-color: rgba(78, 82, 192, 0.3);
  /*
    background-color: rgba(255, 246, 162, 0.6); */
}

#footer {
  padding: 19px;
  background: rgb(30, 30, 30);
  color: white;
  font-size: 20px;
  margin-top: 52px;
  bottom: 0;
  width: 100%;
  margin-bottom: 0px;
  font-size: 10px;
}

.divider .navbar .phonenumber {
  font-weight: bold;
}

.navbar-text {
  float: inherit;
}

.middlebar .navbar .middlecontent .middletext {
  margin-right: 10px;
  display: initial;
}

.navbar-text {
  float: left;
  color: black;
  font-weight: 300;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 20px;
}

.fa-arrow-circle-o-right {
  color: black;
}

.fa-envelope-o {
  color: black;
}

.fa-envelope-o:hover {
  color: red;
}

.fa-arrow-circle-o-right:hover {
  color: red;
}

.mobilenumber {
  font-weight: 400;
}
              
            
!

JS

              
                $(document).ready(function() {
  $(".fa-top").hover(
    function() {
      $(this).addClass("bounce");
    },
    function() {
      $(this).removeClass("bounce");
    }
  );

  $(".imgborder").hover(
    function() {
      $(this).addClass("shake");
    },
    function() {
      $(this).removeClass("shake");
    }
  );
});

              
            
!
999px

Console