123

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

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.

            
              .main-wrapper
	.badge.yellow
		.circle 
			i(class='fa fa-bolt')
		.ribbon Initiator
		
	.badge.orange
		.circle 
			i(class='fa fa-wheelchair-alt')
		.ribbon Disabler
	
	.badge.pink
		.circle 
			i(class='fa fa-pied-piper')
		.ribbon Nuker
		
	.badge.red
		.circle 
			i(class='fa fa-shield')
		.ribbon Ganker
		
	.badge.purple
		.circle 
			i(class='fa fa-anchor')
		.ribbon Durable
		
	.badge.teal
		.circle 
			i(class='fa fa-bicycle')
		.ribbon Roamer

	.badge.blue
		.circle 
			i(class='fa fa-users')
		.ribbon Pusher
		
	.badge.blue-dark
		.circle 
			i(class='fa fa-rocket')
		.ribbon Escape
		
	.badge.green
		.circle 
			i(class='fa fa-tree')
		.ribbon Jungler
		
	.badge.green-dark
		.circle 
			i(class='fa fa-user fa-street-view')
		.ribbon Offlaner
		
	.badge.silver
		.circle 
			span.font AFK
		.ribbon Carry
		
	.badge.gold
		.circle 
			i(class='fa fa-magic')
		.ribbon Support
		

footer
	a(href="https://www.linkedin.com/in/oliviale/" target="_blank")
		i(class="fa fa-linkedin icons")
	a(href="https://twitter.com/meowlivia_" target="_blank")
		i(class="fa fa-twitter icons")
	a(href="https://github.com/oliviale" target="_blank")
		i(class="fa fa-github icons")
	a(href="https://dribbble.com/oliviale" target="_blank")
		i(class="fa fa-dribbble icons")
            
          
!
            
              @mixin margin-auto {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

body {
	font-family: 'Comfortaa', sans-serif;
	background: #111;
}

.main-wrapper {
	width: 90%;
	max-width: 900px;
	margin: 3em auto;
	text-align: center;
}

.badge {
	position: relative;
	margin: 1.5em 3em;
	width: 4em;
	height: 6.2em;
	border-radius: 10px;
	display: inline-block;
	top: 0;
	transition: all 0.2s ease;
	&:before,
	&:after {
		position: absolute;
		width: inherit;
		height: inherit;
		border-radius: inherit;
		background: inherit;
		content: "";
		@include margin-auto;
	}
	&:before {
		transform: rotate(60deg);
	}
	&:after {
		transform: rotate(-60deg);
	}
	&:hover {
		top: -4px;
	}
	.circle {
		width: 60px;
		height: 60px;
		position: absolute;
		background: #fff;
		z-index: 10;
		border-radius: 50%;
		@include margin-auto;
		i.fa {
			font-size: 2em;
			margin-top: 8px;
		}
	}
	.font {
		display: inline-block;
		margin-top: 1em;
	}
	.ribbon {
		position: absolute;
		border-radius: 4px;
		padding: 5px 5px 4px;
		width: 100px;
		z-index: 11;
		color: #fff;
		bottom: 12px;
		left: 50%;
		margin-left: -55px;
		height: 15px;
		font-size: 14px;
		box-shadow: 0 1px 2px rgba(0, 0, 0, 0.27);
		text-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
		text-transform: uppercase;
		background: linear-gradient(to bottom right, #555 0%, #333 100%);
		cursor: default;
	}
}

.yellow {
	background: linear-gradient(to bottom right, #ffeb3b 0%, #fbc02d 100%);
	color: #ffb300;
}

.orange {
	background: linear-gradient(to bottom right, #ffc107 0%, #f57c00 100%);
	color: #f68401;
}

.pink {
	background: linear-gradient(to bottom right, #F48FB1 0%, #d81b60 100%);
	color: #dc306f;
}

.red {
	background: linear-gradient(to bottom right, #f4511e 0%, #b71c1c 100%);
	color: #c62828;
}

.purple {
	background: linear-gradient(to bottom right, #ab47bc 0%, #4527a0 100%);
	color: #7127a8;
}

.teal {
	    background: linear-gradient(to bottom right, #4DB6AC 0%, #00796B 100%);
    color: #34a297;
}

.blue {
	    background: linear-gradient(to bottom right, #4FC3F7 0%, #2196F3 100%);
    color: #259af3;
}

.blue-dark {
	    background: linear-gradient(to bottom right, #1976D2 0%, #283593 100%);
    color: #1c68c5;
}

.green {
	background: linear-gradient(to bottom right, #cddc39 0%, #8bc34a 100%);
	color: #7cb342;
}

.green-dark {
	    background: linear-gradient(to bottom right, #4CAF50 0%, #1B5E20 100%);
    color: #00944a;
}

.silver {
	background: linear-gradient(to bottom right, #E0E0E0 0%, #BDBDBD 100%);
    color: #9e9e9e;
}

.gold {
	background: linear-gradient(to bottom right, #e6ce6a 0%, #b7892b 100%);
    color: #b7892b;
}


footer {
  text-align: center;
  margin: 5em auto;
  a {
    text-decoration: none;
    display: inline-block;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #111;
		border: .5px dashed #f8f8f8;
    color: #999;
    margin: 5px;
    &:hover {
      background: #222;
    }
    .icons {
      margin-top: 12px;
      display: inline-block;
      font-size: 20px;
    }
  }
}

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console