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

              
                <!DOCTYPE html>
<html lang="en" dir="ltr">

<head>
  <meta charset="utf-8">
  <title>The Other Book</title>
  <link rel="stylesheet" href="css/reset.css">
  <link rel="stylesheet" href="css/style.css">

  <script src="https://kit.fontawesome.com/44ccea16f7.js"></script>
</head>

<body>
  <header>
    <div class="logo-area">
      <a href="index.html">Logo</a>
    </div>
    <div class="menu">
      <ul>
        <li><a href="chloe.html">
            Jasmine
          </a>
        </li>
        <li><a href="chloe.html">
            Home
          </a>
        </li>
      </ul>
    </div>
    <div class="icon-links">
      <ul class="quick-options">
        <li><a href="chloe.html">
            <i class="fas fa-users"></i>
          </a>
        </li>
        <li><a href="chloe.html">
            <i class="fas fa-comment-alt"></i>
          </a>
        </li>
        <li><a href="chloe.html">
            <i class="fas fa-bell"></i>
          </a>
        </li>
      </ul>
      <div class="privacy">
        <i class="fas fa-lock"></i>
      </div>
    </div>
    <div class="search-area">
      <ul>
        <li>
          <i class="fas fa-search"></i>

        </li>
        <li>
          <input type="text" name="search">
        </li>
        <li>
          <i class="fas fa-times"></i>
        </li>
    </div>
  </header>
  <section id="top-area">
    <div class="profile-info">
      <div class="user-img">
        <img src="https://randomuser.me/api/portraits/women/89.jpg" alt="">

      </div>
      <div class="user-details">
        <h3>Jasmine Hollway</h3>
        <a href="update.html">Update Info</a>
        <a href="view.html">View Activity</a>
      </div>
    </div>
  </section>


  <section id="content-area">
    <div class="side-column">
      <div class="widget-box intro">
        <div class="head">
          <div class="widget-icon-container">
            <div class="widget-icon"><i class="fas fa-globe"></i>
            </div>
          </div>
          <div class="widget-title">Title</div>
        </div>
        <div class="body">
          <h6></h6>
          <p></p>
          <p></p>
          <a href="#">Update Info</a>
        </div>
      </div>
      <div class="widget-box photos">
        <div class="head">
          <div class="widget-icon-container">
            <div class="widget-icon"><i class="fas fa-globe"></i>
            </div>
          </div>
          <div class="widget-title">Title</div>
        </div>
        <div class="body">

          <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>

        </div>
      </div>
      <div class="widget-box friends">
        <div class="head">
          <div class="widget-icon-container">
            <div class="widget-icon"><i class="fas fa-globe"></i>
            </div>
          </div>
          <div class="widget-title">Title</div>
        </div>
        <div class="body">
          <h6></h6>
          <p></p>
          <p></p>
          <a href="#"></a>
          <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
          <div>
            <div style="display: inline-block; float:left; width: 33.33%; height:110px; background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg)
            no-repeat center center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;"></div>
          </div>
        </div>
      </div>
    </div>
    <div class="main-area">
      <div class="widget-box submenu">
        <ul>
          <li><i class="fas fa-stream"></i>
            <span> Timeline</span>
          </li>
          <li><i class="far fa-address-card"></i>
            <span> About</span>
          </li>
          <li><i class="fas fa-user-friends"></i>
            <span> Friends</span>
          </li>
          <li><i class="fas fa-photo-video"></i>
            <span> Photots</span>
          </li>
          <li><i class="fas fa-ellipsis-v"></i>
          </li>

        </ul>
      </div>
      <div class="widget-box post">
        <div class="head">
          <div class=".user-img-container">
            <div class="user-img">

            </div>
          </div>

          <div class="post-info">
            <span class="user-info"><a href="#">Jasmine Hollway</a> shared a <a href="#"> link</a></span>
            <span class="post-date">July 1 at 11:32 AM via Twitter</span>
          </div>
        </div>
        <div class="body">
          <div class="post-img">
            <img src="css/img/sub-buzz-15431-1485381265-2.webp" alt="Curl Box">
          </div>
          <div class="top-icons">
            <i class="far fa-thumbs-up"></i>
            <i class="fas fa-share"></i>
            <span>
            <i class="far fa-comment-alt"></i> 1
            </span>
          </div>
            <div class="post-comments">
              <div class="user-img">
                <img src="https://images.unsplash.com/photo-1520943219761-6ca840e2e585?ixlib=rb-1.2.1&auto=format&fit=crop&w=634&q=80" alt="">
              </div>
              <div class="user-comment">
                <div class="user-info">
                  <a href="">Nicole Johnson</a>
                  <span class="time"> 12:30 PM</span>
                </div>
                <p>
                  Curlbox is pretty awesome. It's like having a surprise present every month. I love hearing about new natural brands and being able to sample the products.
                </p>
              </div>
            </div>
          <div class="post-form">
            <div class="user-img">
              <img src="https://images.unsplash.com/photo-1520943219761-6ca840e2e585?ixlib=rb-1.2.1&auto=format&fit=crop&w=634&q=80" alt="">
            </div>
            <div class="form-info">
              <input type="text" placeholder="write a comment">
              <div class="icons">
                <i class="fas fa-camera"></i>
                <i class="far fa-smile-beam"></i>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>
</body>

</html>

              
            
!

CSS

              
                /*----------------------------------------------------------------*/
/* Basic Setup */
/*----------------------------------------------------------------*/
* {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
}

a {
  text-decoration: none;
  color: #2196F3;
  transition: all .2s ease-in-out
}
A:hover{
  color: red;
}
/* ----------------------------------------------------------------------- */
/*----------------------------------------------------------------*/
/*                                HEADER                           */
/*----------------------------------------------------------------*/
header {
  background-color: #3B5998;
  padding: 15px;
}

header a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
}

header .logo-area {
  color: white;
  display: inline-block;
  width: 20%;
  margin-left: -4px;
  padding-left: 40px;
}

header .logo-area a {
  text-decoration: none;
  font-size: 20px;
}

header .menu {
  display: inline-block;
  width: 20%;
  margin-left: -4px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  padding-right: 20px;
}

header .menu ul li {
  display: inline-block;
}

header .icon-links {
  display: inline-block;
  width: 20%;
  margin-left: -4px;

}

header .icon-links ul li {
  display: inline-block;
}

header .icon-links, .quick-options {
  display: inline-block;
  margin-left: -4px;
  padding-right: 30px;
  padding-left: 20px;
  
}

header .icon-links .privacy {
  display: inline-block;
  margin-left: -4px;
  padding-left: 20px;
}

header .quick-options{
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

header .search-area {
  display: inline-block;
  width: 40%;
  margin-left: -4px;
  text-align: right;
}

header .search-area ul li {
  display: inline-block
}

/* ----------------------------------------------------------------------------------- */
/*----------------------------------------------------------------*/
/*                         TOP AREA                                */
/*----------------------------------------------------------------*/
#top-area {
  padding: 200px 15px 90px 15px;
  background: url(https://holidaywonders.net/wp-content/uploads/2019/05/simple-learning-to-draw-you-are-gonna-need-a-pencil-art-natural-ideas.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#top-area .profile-info .user-img {
  padding: 10px;
  border-radius: 50%;
  display: inline-block;
}

#top-area .profile-info .user-img img {
  border-radius: 50%;
}

#top-area .profile-info .user-details {
  display: inline-block;
  vertical-align: top;
  padding-left: 20px;
}

#top-area .profile-info .user-details h3 {
  color: white;
  font-size: 24px;
  font-weight: 300px;
  margin-top: 50px;
  margin-bottom: 10px;
}

#top-area .profile-info .user-details a {
  display: inline-block;
  margin-left: -4px;
  width: 45%;
  margin-right: 5%;
  text-align: center;
  text-transform: uppercase;
  color: white;
  font-size: 10px;
  padding: 10px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  transition: background .4s ease-in-out;
}

#top-area .profile-info .user-details a:hover {
  background: #2F9CF2;
}

/* --------------------------------------------------------- */
/*----------------------------------------------------------------*/
/*                         CINTENT AREA                          */
/*----------------------------------------------------------------*/
#content-area {
  background: #FAFAFA;
  overflow: auto;
  padding: 50px 0;
}

#content-area .side-column {
  float: left;
  width: 35%;
  margin: 0 2.5%;
  max-width: 380px;
}

#content-area .widget-box {
  padding: 15px;
  background: white;
  margin: 0 0 15px 0;
  border-radius: 3px;
  -webkit-box-shadow: 0px 3px 5px 0px rgba(138, 138, 138, 1);
  -moz-box-shadow: 0px 3px 5px 0px rgba(138, 138, 138, 1);
  box-shadow: 0px 3px 5px 0px rgba(138, 138, 138, 1);
  overflow: auto;
}

#content-area .widget-box .head {}

#content-area .widget-box .head .widget-icon-container {
  display: inline-block;
}

#content-area .widget-box .head .widget-icon {
  background: #B2B2B2;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

#content-area .widget-box .head .widget-icon .fa {
  max-width: 50%;
  font-size: 22px;
}

#content-area .widget-box .head .widget-title {
  display: inline-block;
  padding: 0 0 0 10px;
}

#content-area .widget-box .body {
  padding: 20px 0;
}

#content-area .main-area {
  float: left;
  width: 55%;
  margin: 0 2.5%;
}
#content-area .main-area .widget-box.post {
  padding: 0;
  margin: 0;
}
#content-area .main-area .submenu ul {
  padding: 0;
  margin: 0 0 20px 0;
}

#content-area .main-area .submenu ul li{
  display:inline-block;
  padding: 10px;
  width: 20%;
  float:left;
  text-align: center;
  border-bottom: 3px solid white;
  transition: all .4s ease-in-out
  cursor: pointer;

}
/* adding a hover effect when over icon in submenu */
#content-area .main-area .submenu ul li:hover{
  border-bottom: 3px solid #2196F3;
  color: #2196F3;
}
/* Alinging the the 5th fa icon in the submenu */
#content-area .main-area .submenu ul li:nth-child(5){
  padding: 28px 0 21px;
}

#content-area .main-area .submenu ul li .fa{
  font-size: 20px;
}
#content-area .main-area .submenu ul li span{
  Display:block;
  margin: 15px 0 0 0;
  text-transform: uppercase;
  font-size: 14px;

}

/* ------------------------------------------------ */
/*----------------------------------------------------------------*/
/*                         POST AREA                          */
/*----------------------------------------------------------------*/

#content-area .main-area .widget-box.post{
  padding: 15px;
  overflow: auto;
}
#content-area .main-area .widget-box.post .head {
  margin: 0 0 15px 0;
}
#content-area .main-area .widget-box.post .head .user-img-container{
  width: 8%;
  display: inline-block;
  overflow: auto;
  float: left;
}
/* setting and sizing profile pic in the post area */
#content-area .main-area .widget-box.post .head .user-img{
  display: inline-block;
  float: left;
  background: url(https://randomuser.me/api/portraits/women/89.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 40px;
  width: 40px;
  margin: 0;
  border-radius: 50%;

}
#content-area .main-area .widget-box.post .head .post-info{
  display: inline-block;
  float: left;
  width: 92%;
  padding-left: 10px;
}

#content-area .main-area .widget-box.post .head::after{
  content: "";
  clear: both;
  display: table;
}
#content-area .main-area .widget-box.post .head .user-info{
  display: block;
  font-size: 14px;
  margin: 4px 0 6px 0;
}
#content-area .main-area .widget-box.post .head .post-date{
  display: block;
  font-size: 12px;
  color: #ABABAB;
}
#content-area .main-area .widget-box.post .body {
  padding: 0;
}
#content-area .main-area .widget-box.post .body .post-img img{
  width: 100%;
}
#content-area .main-area .widget-box.post .body .top-icons{
  width: 100%;
  padding: 15px 0;
  color: #A8A8A8;
}
#content-area .main-area .widget-box.post .body .top-icons .fa{
  font-size: 20px;
  color: #E0E0E0;
}
#content-area .main-area .widget-box.post .body .top-icons .fa-thumbs-up{
  margin-right: 15px;
}
#content-area .main-area .widget-box.post .body .top-icons span{
  float:right;
  display: inline-block;
}

#content-area .main-area .widget-box.post .body .post-comments{
  background: #E0E0E0;
  margin-left: -15px;
  margin-right: -15px;
  padding: 15px;
}

#content-area .main-area .widget-box.post .body .post-comments .user-img{
  width: 8%;
  display: inline-block;
  overflow: auto;
  float: left;
}

#content-area .main-area .widget-box.post .body .post-comments::after {
  content: "";
  clear: both;
  display: table;
}

#content-area .main-area .widget-box.post .body .post-comments .user-img img{
  border-radius: 50%;
  float: left;
  width: 40px;
  height: 40px;

}


#content-area .main-area .widget-box.post .body .post-comments .user-comment{
  display: inline-block;
  padding-left: 10px;
  float: left;
  width: 92%;
  font-size: 14px;
}

#content-area .main-area .widget-box.post .body .post-comments .user-comment .user-info{
  margin: 5px 0 10px
}
#content-area .main-area .widget-box.post .body .post-comments .user-comment .user-info .time{
  float: right;
  color:#A8A8A8;
  font-size: 12px;
}













#content-area .main-area .widget-box.post .body .post-form{
 padding: 15px 0 0 0;

}

#content-area .main-area .widget-box.post .body .post-comments .user-img{
  width: 8%;
  display: inline-block;
  overflow: auto;
  float: left;
}

#content-area .main-area .widget-box.post .body .post-form::after {
  content: "";
  clear: both;
  display: table;
}

#content-area .main-area .widget-box.post .body .post-form .user-img img{
  border-radius: 100%;
  float: left;
  width: 40px;
  height: 40px;

}


#content-area .main-area .widget-box.post .body .post-form .form-info{
  display: inline-block;
  padding: 10px 0 0 10px;
  float: left;
  width: 92%;
  font-size: 14px;
  border-bottom: 1px solid #ABABAB;
}
#content-area .main-area .widget-box.post .body .post-form .form-info input{
  width: 80%;
  border: 0 solid #fff;
  font-size: 18px;
}
#content-area .main-area .widget-box.post .body .post-form .form-info input:focus{
  width: 80%;
  border: 0 solid #fff;

  font-size: 18px;
  outline:none;
}
#content-area .main-area .widget-box.post .body .post-form .form-info .icons{
  display: inline-block;
  float: right;

}
#content-area .main-area .widget-box.post .body .post-form .form-info .icons .fa{
  font-size: 20px;
  margin: 0 15px 0 0;
}

              
            
!

JS

              
                
              
            
!
999px

Console