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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <!DOCTYPE html>
<html>
<head>
   <!--
      Author: Mike Wilson
      Date:   2 FEB 2016

      Filename: index.htm
   -->
   <meta charset="utf-8" />
   <meta name="viewport" content="width=device-width,initial-scale=1.0">
   <title>'toon</title>
   <link rel="stylesheet" href="toon_style.css" type="text/css" />
   <script src="modernizr.custom.65897.js"></script>

 
</head>
<header><img src="media/toontitle.png" width="1250" height="100"></header>
<body> 

<section> 
<div class="colorbox" style="left: 11px; top: 151px">
<div id="nav">
<ul style="width: 301px">
<li>Main article</li>
<li><a href="reviews.html">Reviews</a></li>
<li>Featured Comics</li>
<li><a href="featured.html">Featured 'tooner</a></li>
<li><a href="toonopinion.html">'toonopinion</a></li>
<li><a href="toontips.html">'toon tips</a></li>
<li><a href="communications.html">Contact</a></li>
</ul>
</div>
</div>
</section>

<div class="colorbox2" style="left: 373px; top: 138px; width: 1091px; height: 950px;">
		<article><h1 class="auto-style2">This month....</h1>
<h2 class="auto-style1">Set Sail aboard the Jolly Jack</h2>
<img src="media/mojo and crew pose.png" width="476" height="303" class="left">
<p>In this issue of 'toon, we speak to the creators of 
<strong>Captain Mojo</strong> at Giant Star Entertainment. Eric McRay and Mike Wilson explain how the concept for 
the seafaring adventurer came about and evolved, how the personalities of the various crew members
came about and their plans for the upcoming launch of <strong><em>Captain Mojo: "The Endless Voyage"</em></strong>. <br><br>
There's also a look at some of concept art and how the various crewmembers personalities were developed.</p>
<br><br><br><br>
<h2 class="auto-style1">High Contrast Investigations</h2>
<img src="media/panda.png" width="350" height="351" class="left">
<p>We also get a sneak peek at the Giant Star Project <em><strong>"Brother Panda: Black and White"</strong></em>, and how the '70s noir detective fits into the Giant Star Universe of characters. Take a look at some of the artwork being done by comic industry greats <em>Louis Small jr.</em> (Vampirella) and <em>Parris Cullins</em> (Blue Beetle) and how they envision the character. 
Also learn about the backstory of Jack Brother and how it fits into the launch of the Brother Panda Miniseries <em><strong>"The City that Bleeds",</strong></em> the in development second miniseries <em><strong>"The City that Burns"</strong></em> and the ideas for <em><strong>"Son of Panda". </strong></em>
</p>
<p class="disclaimer"> All images used are properties and trademarks of Giant Star Entertainment&#8482;</p>
<p class="toonfoot">'toon is a registered trademark&#8482; of Giant Star Entertainment</p>
</div>



    
</body>
    
</html>
              
            
!

CSS

              
                @charset "utf-8";
/* CSS Document */
/* CSS for 'toon
Author: Mike wilson
29 January 2016 */
 

html 
  {background-image :url(media/toonbackground.jpg);
   background-repeat: fixed;  
   background-size: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  }
  /*alternate backgrounds*/
  .kirbydot {
   background-image :url(media/kirby/kirbydots_bg.png);
   background-repeat: fixed;  
   background-size: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  }
  
 @media only screen and (max-width: 550px) {
    body {
         background-color: lightblue;
		 }
		 
}
 }

	 
  
  
/* Header Styles */
header {
position: relative;
display: block;
width: 100%; 
margin: 0px auto 10;


}
body {
margin: 0px auto;
padding: 0px;
line-height: 1.5em;
font-family: "Cooper Black","Lucida Sans Unicode", "Lucida Grande", sans-serif;  
}

/* Navigation list style */
#nav {
    width: 400px;
    height: 40px;
    font-size: 24px;
    font-family: "Cooper Black","Lucida Sans Unicode", "Lucida Grande", sans-serif;  
    font-weight: bold;
    text-align: center;
    border-radius: 8px; 
}

#nav li { 
padding: 20px; 
color:#C00;


}
/* unvisited link */
#nav a:link {
    color: #C00
}
/* hover on link */
#nav a:hover {
	font-size:30px;
	color: #FFF
}

/* visited link */
#nav a:visited {
    color: #000
	
/* Styles for Color box */
}
#pic {
	position: relative;
	margin-bottom: auto;
}


.colorbox {
	border: 5px solid #000;
	position: absolute;
	-moz-border-radius: 40px;
	-webkit-border-radius:40px;
	background-color: #FFF;
	margin: 5px;
    padding: 10px;
	height: 500px;
	width: 300px;
	
	
}

.colorbox2 {
	border: 5px solid #000;
	-moz-border-radius: 40px;
	-webkit-border-radius:40px;
	background-color: #FFF;
	margin: 50px; 
	margin-left: 400px;
    padding: 0px;;
	height: 500px;
	width: 1120px;
	
	
}

fieldset { border:1px solid green;
 }



legend {
  padding: 0.2em 0.5em;
  border:1px solid green;
  color:green;
  font-size:90%;
  text-align:right;
  }


/*.clearfix:after {
	content:".";
	display:block;
	height:0;
	visibility: hidden;
	clear:both;
}*/

p {
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	padding-left: 10 px;
	padding-right: 10px;
	margin-left: 10px;
	margin-right: 10px;
	
	
} 


section {
width:600px;
}


h1 {
	
	font-family: "Cooper Black","Lucida Sans Unicode", "Lucida Grande", sans-serif;  
	font-size: 39px;
	color: #000;
	text-shadow:2px 2px 5px red;
	
	
}

h2 {
	
	font-family: "Cooper Black","Lucida Sans Unicode", "Lucida Grande", sans-serif;  
	font-size: 34px;
	padding-bottom:10px;
	text-align: left;
	color: #000;
	/*overflow: hidden*/
	
}

h3 {
	font-family: "Cooper Black","Lucida Sans Unicode", "Lucida Grande", sans-serif;  
	font-size: 28px;
	padding-bottom:10px;
	text-align: center;
	color: #000;
}

ul {
	 list-style-type: none;
	 padding:0; 
	 margin:0;
}

img {
padding-top: 0px;
padding-left: 4px;
padding-bottom: 2px;
padding-right: 0px;
border: 10px;
-moz-border-radius: 40px;
-webkit-border-radius: 40px;
}  

img.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
} 

.right {
  float: right;
  margin-left: 10px;
  margin-right: 10px;
}

.left {
  float: left;
  margin-left: 10px;
  margin-right: 10px;
}


/*Footer Styles */
.toonfoot {
    font-family: "Cooper Black","Lucida Sans Unicode", "Lucida Grande", sans-serif; 
	font-size: 16px;
	font-style: normal;
	margin-top: 200px;
    text-align: center;
	}
/* This sets the appearance of disclaimers for images in articles */
.disclaimer {
	font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-size:12px;
	font-style:italic;
	text-align:center;
}
.auto-style1 {
	margin-top: 27px;
	margin-left: 27px;
}
.auto-style2 {
	margin-top: 34px;
	margin-left: 34px;
	margin-bottom: 34px;
}
.auto-style3 {
	margin-left: 10px;
}



              
            
!

JS

              
                
              
            
!
999px

Console