Pen Settings



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


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


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.


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.


                <!--Best viewed on a laptop or desktop in full screen. If I made this mobile responsive, the font would probably be different. I tried it out, and it doesn't look good at smaller sizes.-->
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Swing Life Away</title>
    <link rel="stylesheet" href="styles.css" type="text/css">
			<link href="" rel="stylesheet">
			<div class= lyrics>
				<p class = "lines">We live on front porches and swing life away</p>
				<p class = "lines">We get by just fine here on minimum wage</p>
				<p class = "lines">If love is a labor I'll slave till the end</p>
				<p class = "lines">I won't cross these streets until you hold my hand</p>
				<p class = "lines">Swing life away</p>
				<p class="lines">Swing life away</p>
				<p class="lines">Swing life away</p>
				<p class="lines">Swing life away</p>


                * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
body {
	height: 100vh;
	width: 100%;
	background-image: linear-gradient(180deg, #ffe273 0%, #ff9a53 50%, #ff86da 100%);
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
.lyrics {
	text-align: center;
	margin: 25vh auto;
	font-family: "Special Elite", monospace;
	font-size: 2rem;
	max-width: 60%;
	animation-name: swing;
	animation-duration: 3s;
	transform-origin: top;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	animation-delay: -1s;
.lines {
	line-height: 1.4em;
	color: hsl(30, 100%, 21%);
	text-shadow: -1px -1.5px hsl(30, 100%, 10%), 2px 2px hsl(30, 100%, 85%), 3px 3px hsl(30, 100%, 90%);
@keyframes swing {
	0% {
		transform: rotate(-6deg);
	25% {
		transform: rotate(0deg);
	50% {
		transform: rotate(6deg);
	75% {
		transform: rotate(0deg);
	100% {
		transform: rotate(-6deg);