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

              
                
<aside class="profile-card">
  
  <header>
    
    <!-- here’s the avatar -->
    <a href="//igenii.us"target="_blank">
      <img src="https://i.imgur.com/hiPRgEf.png">
    </a>

    <!-- the username -->
    <h1>Teejay Parker</h1>
    
    <!-- and role or location -->
    <h2>Webdeveloper / St. Paul</h2>
    
  </header>
  
  <!-- bit of a bio; who are you? -->
  <div class="profile-bio">
    
    <p>I'm a 35 year old Web Developer seeking a front-end dev career.</p>
    
  </div>
  
  <!-- some social links to show off -->
  <ul class="profile-social-links">
    
    <!-- beer - el clásico  -->
    <li>
      <a href="//teejayparker.com" class="fa fa-beer" title="my website"target="_blank"></a>
    </li>
    
    <!-- github – use this one to link to your marketplace profile -->
    <li>
      <a href="//github.com/majeye/" class="fa fa-github" title="my github profile"target="_blank"></a>
    </li>
    
    <!-- codepen - your codepen profile-->
    <li>
      <a href="//codepen.io/TeejayParker/" class="fa fa-codepen" title="my codepen profile" target="_blank"></a>
    </li>
    
    <li>
      <a href="//linkedin.com/TeejayParker/" class="fa fa-linkedin" title="my codepen profile" target="_blank"></a>
    </li>
    
    <!-- add or remove social profiles as you see fit -->
    
  </ul>
  
</aside>

              
            
!

CSS

              
                *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  height: 100vh;
  width: 100vw;
  background: url('https://i.imgur.com/yDE7Age.jpg') no-repeat center center / cover;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 16px;
}
img{
  max-width: 100%;
}
/* old stuff of the toggle button .. 
label{
  display: inline-block;
  background-color: rgb(42,169,224);
  padding: 10px 20px;
  margin: 20px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-transition: all .3s;
          transition: all .3s;
}
label:hover{
  box-shadow: 5px 5px 10px rgba(0,0,0, .1);
  background-color: rgb(32,159,214);
}
input{
  display: none;
}
end of old stuff :D */
/* go on then, styles go here.. knock yourself out! */
.profile-card{
  position: absolute;
  left:0;top:0;right:0;bottom:0;
  margin: auto;
  width: 400px;
  height: 190px;
  background-color: rgba(45,45,45, 0);
  color: rgb(255,255,255);
  font-smoothing: antialiased;
  -webkit-perspective: 100%;
          perspective: 100%;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transform: rotateX(55deg) rotateY(9deg) rotateZ(-40deg);
          transform: rotateX(55deg) rotateY(9deg) rotateZ(-40deg);
  -webkit-transition: all .5s ease-in;
          transition: all .5s ease-in;
}
/*
*:checked + .profile-card{
  -webkit-transform: rotate(0);
      -ms-transform: rotate(0);
          transform: rotate(0);
  box-shadow: 0 0 20px rgba(0,0,0, .4);
}*/
.profile-card header{
  position: absolute;
  right: 0;
  top: 0;
  width: 300px;
  height: 250px;
  background-color: rgb(45,45,45);
  text-align: right;
  z-index: -1;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}
.profile-card header:before,
.profile-card header:after{
  position: absolute;
  bottom: 1px;
  display: block;
  content: '';
  height: 10px;
  width: 100%;
  background-color: rgb(35,35,35);
  -webkit-transform: rotateX(90deg);
          transform: rotateX(90deg);
  -webkit-transform-origin: 0 100% 0;
      -ms-transform-origin: 0 100% 0;
          transform-origin: 0 100% 0;
}
.profile-card header:after{
  height: 100%;
  width: 10px;
  -webkit-transform: rotateY(90deg);
          transform: rotateY(90deg);
}
.profile-card header>a{
  display: block;
  background-color: rgba(0,0,0, .2);
  width: 100%;
  height: 83.333px;
}
.profile-card header>a>img{
  margin: 10px;
  height: 63.333px;
  width: 63.333px;
}
.profile-card  h1{
  padding: 10px 20px 0;
  font-size: 32px;
  font-weight: 300;
}
.profile-card h2{
  font-size: 19px;
  font-weight: 300;
  text-transform: uppercase;
  color: rgba(255,255,255, .5);
  padding: 0 20px;  
}
.profile-card .profile-bio{
  margin: 156.666px 0 0 100px;
  padding: 10px 20px;
  text-align: right;
}
.profile-card .profile-social-links{
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}
.profile-card .profile-social-links li{
  display: block;
  height: 33.4%;
  width: 100%;
  list-style: none;
  background-color: rgb(130,181,64);
  position: relative;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transform: translateZ(1px);
          transform: translateZ(1px);
  -webkit-transition: all .4s;
          transition: all .4s;
}
.profile-card .profile-social-links li:before,
.profile-card .profile-social-links li:after{
  position: absolute;
  display: block;
  content: '';
  height: 100%;
  width: 10px;
  background-color: rgb(120,171,54);
  -webkit-transform: rotateY(90deg);
          transform: rotateY(90deg);
  -webkit-transform-origin: 0 0;
      -ms-transform-origin: 0 0;
          transform-origin: 0 0;
}
.profile-card .profile-social-links li:after{
  height: 10px;
  width: 100%;
  -webkit-transform: rotateX(-90deg);
          transform: rotateX(-90deg);
}
.profile-card .profile-social-links li:hover{
  -webkit-transform: translateZ(9px);
          transform: translateZ(9px);
}
.profile-card .profile-social-links li:first-child{
  background-color: rgb(42,169,224);
}
.profile-card .profile-social-links li:first-child:before,
.profile-card .profile-social-links li:first-child:after{
  background-color: rgb(32,159,214);
}
.profile-card .profile-social-links li:last-child{
  background-color: rgb(243,122,41);
}
.profile-card .profile-social-links li:last-child:before,
.profile-card .profile-social-links li:last-child:after{
  background-color: rgb(233,112,31);
}
.profile-card .profile-social-links li a{
  display: block;
  height: 100%;
  width: 100%;
  padding: 20px;
  text-align: center;
  -webkit-transition: all .3s;
          transition: all .3s;
  font-size: 40px;
  line-height: 45px;
  text-decoration: none;
  color: rgb(45,45,45);
}
.profile-card .profile-social-links li:hover a{
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}
              
            
!

JS

              
                
              
            
!
999px

Console