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

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

              
                <!-- **** Adv Cards in Basic Grid Layout ****-->
<main>	
	<div class="container">
		<div class="row">
			<div class="col s12">
				<h4>Social Activities</h4>
				<div class="divider"></div>
			</div>
		</div>	
	
		<div class="row">
			<div class="col s12 m6 l6">	
					
				<!-- reveal card #1 -->
				<div class="card sticky-action">
					<!--  card image -->
					<div class="card-image waves-effect waves-block waves-light">
						<img class="activator" src="//demo.atyourlibrary.com/material-design/images/cards/sm-open-mike-1.png">
					</div>
					
					<!--  card title, content and reveal icon -->
					<div class="card-content">
						<span class="card-title activator grey-text text-darken-4">Open Mike Night<i class="material-icons right">more_vert</i></span>
						<p>8:30pm every Friday Night in the Community Center.</p>
					</div>
					
					<!--  card action -->
					<div class="card-action">
						<a href="#">YouTube</a>	
					</div>
					
					<!--  card reveal content -->
					<div class="card-reveal">
						<span class="card-title grey-text text-darken-4">Open Mike Night<i class="material-icons right">close</i></span>
						<p class="flow-text">There are so many talented individuals in town and the Happy Library  is providing a venue for them to show their stuff.</p>
						<p><em> Open Mic Night is open to anyone who wants to take the stage. </em></p>
						<div class="divider"></div>
						<p>Food and refreshments are provide by local restaurants.</p> 
					</div>
				</div>	
					  
			</div>
			
			<div class="col s12 m6 l6">
				
				<!-- reveal card #2 -->
				<div class="card sticky-action">
					<!--  card image -->
					<div class="card-image waves-effect waves-block waves-light">
						<img class="activator" src="//demo.atyourlibrary.com/material-design/images/cards/sm-dance.png">
					</div>
					
					<!--  card title, content and reveal icon -->
					<div class="card-content">
						<span class="card-title activator grey-text text-darken-4">Dancing<i class="material-icons right">more_vert</i></span>
						<p>Saturday Nights in the Community Ballroom</p>			
					</div>
					
					<!--  card action -->
					<div class="card-action">
						<a href="#">More Information</a>	
					</div>
					
					<!--  card reveal content -->
					<div class="card-reveal">
						<span class="card-title grey-text text-darken-4">Dancing<i class="material-icons right">close</i></span>
						<p class="flow-text">Come out and join in the fun.</p>
						<div class="divider"></div>
						<p>
							<table>
								<thead>
									<tr>
										<th data-field="date">Date</th>
										<th data-field="dance-type">Dance</th>
										<th data-field="time">Time</th>
									</tr>
								</thead>
							
								<tbody>
									<tr>
										<td>1st Saturday</td>
										<td>Ballroom</td>
										<td>7:00pm</td>
									</tr>
									<tr>
										<td>2nd Saturday</td>
										<td>Salsa</td>
										<td>8:00pm</td>
									</tr>
									<tr>
										<td>3rd Saturday</td>
										<td>Hip Hop</td>
										<td>8:00pm</td>
									</tr>
									<tr>
										<td>4th Saturday</td>
										<td>Contra</td>
										<td>7:00pm</td>
									</tr>
								</tbody>
							</table>
						</p>
					</div>
				</div>			

			</div>
		</div>
	</div>
</main>	

              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console