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.

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

              
                	<ul class="menu menu-hover-effects align-center expanded">
		<li class="menu_item"><a href="#">About</a></li>
		<li class="menu_item"><a href="#">Services</a></li>
		<i class="far fa-gem menu_item"></i>
		<li class="menu_item"><a href="#">Story</a></li>
		<li class="menu_item"><a href="#">Contact</a></li>
	</ul>

<div class="grid-x heading">
	<div class="grid-y cell small-12 medium-6 heading_section">
		<h1>I</h1>
		<h1>can't</h1>
		<h1>stand</h1>
		<h1>it</h1>
	</div>
	<div class="grid-y cell small-12 medium-6 heading_section">
		<h1>I</h1>
		<h1>know</h1>
		<h1>you</h1>
		<h1>planned</h1>
		<h1>it</h1>
	</div>	
</div>

<div class="grid-x">
	<div class="grid-x cell small-12 large-6">
		<div class="cell small-12 image">
			<img src="https://images-na.ssl-images-amazon.com/images/I/91dj2MkyWKL._SL1300_.jpg" alt="tree" class="image_image">
			<div class="image_caption">
				<div class="image_caption_title">ill communication</div>
				<div class="image_caption_location">beastie boys</div>
				<div class="image_caption_date">capitol &middot grand royal 1994</div>
			</div>
		</div>
	</div>
	<div class="grid-x grid-padding-x cell small-12 large-6 lyrics align-stretch">
		<p class="lyrics_text cell">I'm-a set it straight, this Watergate. I can't stand rockin' when I'm in here cause your crystal ball ain't so crystal clear.
So while you sit back and wonder why I got this -in' thorn in my side. Oh my god, it's a mirage I'm tellin' y'all, it's sabotage. So, so, so, so listen up, cause you can't say nothin'. You'll shut me down with a push of your button. But, yo, I'm out and I'm gone, I'll tell you now, I keep it on and on. Cause what you see, you might not get. And we can bet, so don't you get souped yet. Scheming on a thing, that's a mirage, I'm trying to tell you now, it's sabotage.</p>
<p class="lyrics_text cell">Why. Our backs are now against the wall? Listen all y'all, it's a sabotage. Listen all y'all, it's a sabotage. Listen all y'all, it's a sabotage.
</p>
<p class="lyrics_text cell">Listen all y'all, it's a sabotage. I can't stand it, I know you planned it
I'm gonna set it straight, this Watergate. Lord, I can't stand rockin' when I'm in this place. Because I feel disgrace because you're all in my face. But make no mistakes and switch up my channel. I'm Buddy Rich when I fly off the handle. What could it be, it's a mirage. You're scheming on a thing, that's sabotage.
</p>		
		<div class="lyrics_caption ">
				<div class="lyrics_caption_location">"sabotage"</div>
				<div class="lyrics_caption_location">m. diamond, a. horovitz, a. yauch</div>
			</div>
	</div>
	
</div>
              
            
!

CSS

              
                .menu-hover-effects {
	transition: color .5s ease-in-out;
	a, a:link, a:visited, a:link:active, a:visited:active {
		color: inherit;
		transition: color, transform .5s ease-in-out;
	}
	i {
		color: initial;
	}
	&:hover {
		color: #D1338D;
	}
	a:hover {
		color: #661543;
		transform: scale(1.025,1.025);
	}
}

.menu {
	padding: 1rem;
	a {
		font-size: 1.5rem;
		font-weight: 600;
		letter-spacing: .05rem;
	}
	li + li {
		border-left: 2px solid black;
	}
	font-size: inherit;
}

.image_image, .image_caption, .copy p, .lyrics_caption {
	width: 95%;
	margin-left: auto;
  margin-right: auto;
}

.image_image {
	display: block;
}

.image_caption, .lyrics_caption {
	padding-top: 2rem;
	padding-right: 2rem;
	line-height: 1.1;
	font-family: times;
	font-weight: 400;
	text-align: right;
	&_title {
		font-style: italic;
	}

}

i.far {
		font-size: 3rem;
}

h1 {
	padding-left: 2rem;
	padding-top: 2rem;
	letter-spacing: .15rem;
	font-weight: 700;
	font-size: 2rem;
	font-family: Garamond;
	text-transform: uppercase;
	& + h1 {
		padding: 0rem 0 0 2rem;
	}
	@media screen and (min-width: 640px) {
		font-size: 3rem;
	}
	@media screen and (min-width: 1024px) {
		font-size: 4rem;
	}
}

.heading_section {
	padding: 3rem;
	@media screen and (min-width: 1024px) {
		& + .heading_section {
			padding-left: 0;
		}
	}
}

.lyrics {
	font-family: verdana;
	font-weight: 700;
	letter-spacing: -.05rem;
	padding-top: 3rem;
	@media screen and (min-width: 1024px) {
		padding-top: 0;
		border-left: 1px solid #000;
		padding-right: 2rem;
	}
}

@media screen and (max-width: 640px) {
	.menu a {
		font-size: .75rem;
	}
}

body {
	background-color: #FCFDFF;
	font-family: Garamond;
	text-rendering: optimizeLegibility;
}
              
            
!

JS

              
                
              
            
!
999px

Console