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

              
                <div class="wrapper">
<!--   <div class="header">Github Profile</div> -->
  <a href="https://github.com/ajduke" target="_blank">
    <div class="profile-pic" style="background:url('https://avatars1.githubusercontent.com/u/1594650?v=3&s=460');background-size: cover;">
    </div>
  </a>
  
  <div class="name">Abhijeet S. Sutar</div>
  <div class="username">ajduke</div>
  <div class="about-me">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cumque maxime asperiores voluptatibus, animi, corporis dolor sequi quasi magni voluptas perferendis ipsa iste accusamus quis id illo tempore, debitis atque nemo!</div>
  
  <div class="stats">
    <div class="item followers">
      <span class="num">36</span>
      <div class="text">Followers</div>
    </div>
    <div class="item stars">
      <span class="num">622</span>
      <div class="text">Stars</div>
    </div>
    <div class="item following">
      <span class="num">177</span>
      <div class="text">Following</div>
    </div>
    <div class="item repos">
      <span class="num">177</span>
      <div class="text">Repositories</div>
    </div>
  </div>
  
</div>
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=PT+Sans+Narrow:700,400|Titillium+Web:400,600,700,300);
@import url(https://fonts.googleapis.com/css?family=Dosis:400,300,500);

$body-bg: #e5e5e5;
$green-bg: #2cd0c8;
$primary: #731DD8;
@mixin trans($prop:all, $time:0.4s, $time_function:ease-in-out) {
  transition: $prop $time $time_function;
}

* {
  box-sizing: border-box;  
}
::-webkit-input-placeholder {
   color: #e4e4e4;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: $body-bg;

  font-family: 'Dosis', sans-serif;
}

.wrapper {
  width: 500px;
  margin: 50px auto 20px;
  text-align: center;
  padding: 10px;
  color: #fff;
  // background: linear-gradient(to top, $primary 60%, $body-bg);
  background: $primary;
  box-shadow: 0 0 10px rgba(55,55,55,.5);
  color: #E4DFDA;
  border-radius: 4px;
}

.header {
  font-size: 30px;
  padding: 5px;
  font-family: 'PT Sans Narrow', sans-serif;
}
.profile-pic {
  width: 80px;
  height: 80px;
  margin: 10px auto;
  margin-top: -30px;
  border-radius: 50%;
  border: 2px solid #fff;
  @include trans($time: .3s);
  &:hover {
    cursor: pointer;
    transform: translateY(-10px) scale(1.3);
  }
}

.name {
  font-size: 22px;
  font-weight: 500;
}

.username {
  font-size: 18px;
  font-weight: 300;
}

.about-me {
  padding: 10px 60px;
  letter-spacing: .6px;
  font-weight: 300;
  margin: 20px 0px;
}

.stats {
  background: #fff;
  color: $primary;
  padding: 10px;
  display: flex;
  justify-content: space-around;
  margin: 30px 20px 20px;
  border-radius: 3px;
  
  .num {
    font-weight: 500;
    font-size: 20px;
  }
  .item{
    @include trans($time:.2s);
    &:hover{
      color: #999;      
    }
  }
  
}


              
            
!

JS

              
                $(document).ready(()->

)
              
            
!
999px

Console