cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

            
              .circle
.banner
%i.fa.fa-twitter
.top
	%h1 Do You Like
	%h3 Stupid Code Jokes?
.banner-two
	%p 
		%a{:href=>"https://twitter.com/RubeCodeberg/", :target=>"_blank"} RubeCodeberg

            
          
!
            
              @import "compass/css3";

$bkg: #f3e5c9;
$orange: #fe6037;
$black: #002e2e;
@import url(https://fonts.googleapis.com/css?family=Six+Caps|Julius+Sans+One|Playball);
html{
	background:$black;
}
.top{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 300px;
	margin-left: -245px;
	margin-top: -50px;
	background: $black;
	width: 500px;
	text-transform: uppercase;
	text-align: center;
	@include transform(rotate(-15deg));
	& h1{
	font-family: "Six Caps",sans-serif;
	font-weight: 800;
	font-size: 75px;
	color: $bkg;
	letter-spacing: 9px;
	margin: -4px 0 -7px 0;
	}
	& h3{
		font-family: "Julius Sans One",sans-serif;
		margin: 0 0 15px 0;
		color: $bkg;
		font-size: 16px;
		letter-spacing: 5px;
	}
}

.fa-twitter{
	color: $orange;
	font-size: 500px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-top: -275px;
	margin-left: -225px;
	text-shadow: 10px 10px 0px $black,12px 12px 0px rgba($bkg,0.1);
}
.banner{
	width: 400px;
	background: mix(black,$bkg,20);
	position: absolute;
	height: 125px;
	@include transform(rotate(15deg));
	top: 50%;
	left: 50%;
	margin-left: -170px;
	margin-top: 40px;
}
.banner-two{
	position: absolute;
	width: 450px;
	height: 125px;
	background: $bkg;
	top: 50%;
	left: 50%;
	margin-top: 113px;
	@include transform(rotate(-5deg));
	margin-left: -205px;
	&:before,&:after{
		position: absolute;
		content:'';
		border-right: 70px solid $bkg;
	}
	&:before{
		border-top: 0px solid transparent;
		border-bottom: 75px solid transparent;
		margin-left: -69px;
	}
	&:after{
		border-top: 60px solid transparent;
		border-bottom: 0px solid transparent;
		margin-left: -69px;
		margin-top: 65px;
	}
	& p{
		position: absolute;
		font-size: 75px;
		line-height: 0;
		margin: 65px 0px 0px 15px;
		font-family: "Playball",sans-serif;
		color: $black;
		text-shadow: 2px 2px 0px $bkg,4px 4px 0px rgba($orange,0.3);
		padding-right: 10px;
		@include transition(all 0.3s);
		&:hover{
			@include transform(rotate(-3deg));
		}
	}
	& a{
		text-decoration: none;
		color: $black;
		@include transition(all 0.2s);
		&:hover{
			color: $orange;
			text-shadow: -3px 4px 3px rgba($black,0.2);
		}
	}
}
.circle{
	width: 450px;
	height: 450px;
	position: absolute;
	border-radius: 50%;
	top: 50%;
	left: 50%;
	margin-top: -275px;
	margin-left: -300px;
	box-shadow:-10px -10px 0px mix(black,$black,20),-15px -15px 0px black,-20px -20px 0px rgba($bkg,0.1);
}
@media screen and (max-width:800px){
	body{
		@include transform(scale(0.7));
		margin-top: 250px;
		margin-left: -20px;
	}
}
@media screen and (max-width:660px){
	body{
		@include transform(scale(0.5));
		margin-left: -25px;
	}
}

            
          
!
999px
Loading ..................

Console