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

              
                <a href="https://www.youtube.com/channel/UCkfdb6tUwVoGXPPzY7H6hUg?view_as=subscriber" style="color:red;">My Youtube</a>
<div class="button">Hello</div>

<div class="button two">Hello</div>	

<div class="button three">Hello</div>

<div class="button four">Hello</div>


              
            
!

CSS

              
                body{
	margin:0;
	padding:0;
	background: #eee;
}
html{
	margin:0;
	padding:0;
}
.button{
	cursor:pointer;
	overflow:hidden;
	padding: 20px;
	border: solid 2px blue;
	position:relative;
	top: 80%;
	margin-top: 100px;
	left: 50%;
	transform:translate(-50%,-50%);
	width:120px;
	text-align:center;
	font-family: sans-serif;
	font-weight: 600;
	letter-spacing:5px;
	transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
	-webkit-text-stroke: 0px white;
	&::after{
			transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
		content:'';
		width: 10px;
		height: 2px;
		background: blue;
		position:absolute;
		top:0px;
		right: 0px;
		box-shadow: 0px 5px 0px blue,
			0px 10px 0px blue,
			0px 15px 0px blue,
			0px 20px 0px blue,
			0px 25px 0px blue,
			0px 30px 0px blue,
			0px 35px 0px blue,
			0px 40px 0px blue,
			0px 45px 0px blue,
			0px 50px 0px blue,
			0px 55px 0px blue;
	}
	&:hover::after{
		width: 160px;
		z-index:-1;
			-webkit-text-stroke: 4px white;
		box-shadow: -10px 5px 0px blue,
			-20px 10px 0px blue,
			-30px 15px 0px blue,
			-40px 20px 0px blue,
			-50px 25px 0px blue,
			-60px 30px 0px blue,
			-70px 35px 0px blue,
			-80px 40px 0px blue,
			-90px 45px 0px blue,
			-100px 50px 0px blue,
			-110px 55px 0px blue;
}
	&:hover{
		color:#fff;
	}
}

.two{
	top:50%;
	border: solid 2px yellow;
	color:blue;
	
	&:after{
		
		width: 20px;
		height: 20px;
		border-radius: 100px;
		background: yellow;
		top:-20px;
		box-shadow: -20px -20px 0px yellow,
			-40px -20px 0px yellow,
			-60px 120px 0px yellow,
			-80px -20px 0px yellow,
			-100px 120px 0px yellow,
			0px -20px 0px yellow,
			-40px 120px 0px yellow,
			-80px -20px 0px yellow,
			-120px 120px 0px yellow,
			-140px -20px 0px yellow;
	}
	&:hover::after{
		box-shadow:
		-20px 20px 0px yellow,
			-40px 30px 0px yellow,
			-60px 10px 0px yellow,
			-80px 50px 0px yellow,
			-100px 20px 0px yellow,
			0px 60px 0px yellow,
			-40px 60px 0px yellow,
			-80px 90px 0px yellow,
			-120px 30px 0px yellow,
			-140px 70px 0px yellow;
		width: 20px;
		z-index:10;
}
	&:hover{
		color:blue;
}
	
}

.three{
	top: 80%;
	background: rgba(255,255,255,0.2);
	box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
	border:0;
	color:#fff;
	text-shadow:0px 0px 2px rgba(0,0,0,0.4);
	&::after{
		width:10px;
		height: 180%;
		background:#fff;
		left:-50px;
		top:-19px;
		transform: rotate(45deg);
		box-shadow:-15px 0px 0px, 0px 0px 12px white, 0px 0px 12px white;
		opacity:0.4;
	}
	&:hover::after{
		box-shadow:0px 0px 0px,0px 0px 12px white, 0px 0px 12px white;
		width: 10px;
		left: 185px;
	}

}

.four{
	border: solid 2px #000;
	
	&::after{
		width: 0px;
		height: 20px;
		border-radius: 100%;
		background: #000;
		position: absolute;
		top: 50%;
		left:50%;
		transform: translate(-50%,-50%);
		box-shadow: 0px 0px 0px 0px black,0px 0px 0px 0px white, 0px 0px 0px 0px black,0px 0px 0px 0px white, 0px 0px 0px 0px black,0px 0px 0px 0px white, 0px 0px 0px 0px black,0px 0px 0px 0px white,
			
			0px 0px 0px 0px black,0px 0px 0px 0px white, 0px 0px 0px 0px black,0px 0px 0px 0px white, 0px 0px 0px 0px black,0px 0px 0px 0px white, 0px 0px 0px 0px black,0px 0px 0px 0px white;
	}
	
	&:hover::after{
		width: 20px;
		box-shadow: -10px 0px 0px 10px black,-15px 0px 0px 10px white, -20px 0px 0px 20px black,-25px 0px 0px 20px white, -30px 0px 0px 30px black,-35px 0px 0px 30px white, -40px 0px 0px 40px black,-45px 0px 0px 40px white,
			
			10px 0px 0px 10px black,15px 0px 0px 10px white, 20px 0px 0px 20px black,25px 0px 0px 20px white, 30px 0px 0px 30px black,35px 0px 0px 30px white, 40px 0px 0px 40px black,45px 0px 0px 40px white;
	}
	
	
}
              
            
!

JS

              
                //NO JS REQUIRED
              
            
!
999px

Console