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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <!-- this is the markup. you can change the details (your own name, your own avatar etc.) but don’t change the basic structure! -->

<aside class="profile-card">
  
  <header>
    
    <!-- here’s the avatar -->
    <a href="http://rommar.in.ua">
      <img src="http://rommar.in.ua/remix/mario.gif">
    </a>

    <!-- the username -->
    <h1>Rompa Stompa</h1>
    
    <!-- and role or location -->
    <h2>Student Programmer</h2>
    
  </header>
  
  <!-- bit of a bio; who are you? -->
  <div class="profile-bio">
    
    <p>Hi! My name is Roman. I live in central Ukraine. Prefer to listen old school hip-hop. Also I like programming and design.</p>
    
  </div>
  
  <!-- some social links to show off -->
  <ul class="profile-social-links">
    
    <!-- twitter - el clásico  -->
    <li>
      <a href="https://twitter.com/rmpstmp">
        <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/210284/social-twitter.svg">
      </a>
    </li>
    
    <!-- envato – use this one to link to your marketplace profile -->
    <li>
      <a href="http://themeforest.net/user/rmmr">
        <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/210284/social-envato.svg">
      </a>
    </li>
    
    <!-- codepen - your codepen profile-->
    <li>
      <a href="https://codepen.io/rommar">
        <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/210284/social-codepen.svg">
      </a>
    </li>
    
    <!-- add or remove social profiles as you see fit -->
    
  </ul>
  
</aside>
<!-- that’s all folks! -->
            
          
!

CSS

            
              /* go on then, styles go here.. knock yourself out! */

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

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
}

.profile-card {
	padding-top: 20px;
	text-align: center;
}

body {
	background-color: #6b88fe;
	font-family: 'VT323';
}

body:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 280px;
	bottom: 0;
	z-index: -1;
	background-image: url(http://rommar.in.ua/remix/bg.gif);
	background-repeat: repeat-x;
	background-position: 0 100%;
	-webkit-animation: parallax_ground linear 45s infinite both;
	-o-animation: parallax_ground linear 45s infinite both;
	animation: parallax_ground linear 45s infinite both;
}

body:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 400px;
	top: 0;
	z-index: -1;
	background-image: url(http://rommar.in.ua/remix/clouds.gif);
	background-repeat: repeat-x;
	background-position: 0 100%;
	-webkit-animation: parallax_clouds linear 60s infinite both;
	-o-animation: parallax_clouds linear 60s infinite both;
	animation: parallax_clouds linear 60s infinite both;
}

@-webkit-keyframes parallax_ground {
	100% {
		background-position: -1976px 100%;
	}

	0% {
		background-position: 0 100%;
	}
}

@-o-keyframes parallax_ground {
	100% {
		background-position: -1976px 100%;
	}

	0% {
		background-position: 0 100%;
	}
}

@keyframes parallax_ground {
	100% {
		background-position: -1976px 100%;
	}

	0% {
		background-position: 0 100%;
	}
}

@-webkit-keyframes parallax_clouds {
	100% {
		background-position: -1067px 100%;
	}

	0% {
		background-position: 0 100%;
	}
}

@-o-keyframes parallax_clouds {
	100% {
		background-position: -1067px 100%;
	}

	0% {
		background-position: 0 100%;
	}
}

@keyframes parallax_clouds {
	100% {
		background-position: -1067px 100%;
	}

	0% {
		background-position: 0 100%;
	}
}

header {
	display: block;
	margin: auto;
	text-align: center;
	width: 100%;
	max-width: 256px;
}

header a {
	display: block;
	width: 256px;
	position: relative;
	padding-bottom: 50px;
}

header a:after {
	content: "";
	position: absolute;
	top: 57px;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 58px;
	background-image: url(http://rommar.in.ua/remix/bricks.png);
	background-repeat: repeat-x;
}

header h1 {
	font-size: 48px;
	color: #fff;
	text-shadow: 0 -1px 0 #000, 1px 1px 0 #000, 2px 1px 0 #000, 1px 2px 0 #000, 2px 2px 0 #000, 3px 2px 0 #000, 2px 3px 0 #000, 3px 3px 0 #000, 4px 3px 0 #000, 3px 4px 0 #000;
  line-height: 0;
  white-space: nowrap;
}

header h2 {
	font-size: 26px;
	color: #fff;
	text-shadow: 0 -1px 0 #000, 1px 1px 0 #000, 2px 1px 0 #000, 1px 2px 0 #000, 2px 2px 0 #000, 3px 2px 0 #000, 2px 3px 0 #000;
  line-height: 0;
  white-space: nowrap;
  padding-top: 5px;
  padding-bottom: 30px;
}

.profile-bio {
	display: block;
	margin: auto;
	position: relative;
	width: 100%;
	max-width: 256px;
	background: #e05f10;
	padding: 10px 14px;
	border-radius: 2px;
	border-top: 2px solid #fcbcb0;
	border-left: 2px solid #fcbcb0;
	border-bottom: 2px solid #a24211;
	border-right: 2px solid #a24211;
}

.profile-bio p {
	font-size: 20px;
	text-align: center;
	color: #fff;
	text-shadow: 1px 2px 0 #000;
}

.profile-bio:before {
	content: "";
	position: absolute;
	top: 7px;
	left: 0;
	width: 100%;
	height: 3px;
	background-image: url(http://rommar.in.ua/remix/pin.png);
	background-repeat: no-repeat;
}

.profile-bio:after {
	content: "";
	position: absolute;
	bottom: 7px;
	left: 0;
	width: 100%;
	height: 3px;
	background-image: url(http://rommar.in.ua/remix/pin.png);
	background-repeat: no-repeat;
}

.profile-social-links {
	position: relative;
	display: inline-block;
	top: 10px;
	left: 100px;
}

.profile-social-links li {
	display: inline-block;
	width: 64px;
	height: 64px;
	background-image: url(http://rommar.in.ua/remix/box.png);
	background-repeat: no-repeat;
	overflow: hidden;
	text-align: center;
}

.profile-social-links li:nth-child(1),
.profile-social-links li:nth-child(2),
.profile-social-links li:nth-child(3) {
	margin-right: -7px;
}

.profile-social-links:after {
	content: "";
	display: inline-block;
	width: 64px;
	height: 128px;
	background-image: url(http://rommar.in.ua/remix/mushroom.png);
	background-repeat: no-repeat;
	margin-left: -4px;
}

.profile-social-links li a {
	display: block;
	width: 100%;
	height: 100%;
}

.profile-social-links li a img {
	width: 32px;
	height: 32px;
	margin-top: 15px;
	-webkit-filter: brightness(0);
	filter: brightness(0);
	opacity: 0.7;
}

.profile-social-links li:hover {
	-webkit-transform: translateY(-5px);
	-moz-transform: translateY(-5px);
	-o-transform: translateY(-5px);
	transform: translateY(-5px);
}
            
          
!

JS

            
              
            
          
!
999px

Console