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.

Details

Privacy

Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO

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.

Template

Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:

Screenshot

Screenshot or Custom Thumbnail

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO

HTML

              
                <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SpaceCat</title>
<meta name="keywords" content="comics, collectibles, magic the gathering, vintage video games, collectibles, collectible figures, batman, spider-man, dark knights metal, xbox, ps4, atari, collectible comics, silver age comics, action figures, custom t-shirts, posters, pokemon cards, booster boxes, collecting supplies, " />
<meta name="description" content="SpaceCat website" />
<link href="http://www.superspacecat.com/newsite/templatemo_style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.style1 {
	margin-right: 0px;
}
.style2 {
	font-family: Minnie;
	color: #FF0000;
}
.style3 {
	font-weight: normal;
	font-size: medium;
	text-align: center;
}
.style4 {
	font-weight: bold;
}
.style6 {
	font-size: medium;
	font-family: Arial, Helvetica, sans-serif;
}
.style9 {
	font-weight: normal;
	font-size: medium;
	color: #C0C0C0;
}
.style10 {
	text-align: center;
}
.style12 {
	margin-right: 1px;
}
.style14 {
	font-size: medium;
}
</style>
</head>
<body style="background-image: url('http://www.superspacecat.com/newsite/images/bgstars.gif')">
<div id="templatemo_container">
	<!--  Free CSS Templates by TemplateMo.com  -->
    <div id="templatemo_header">
        <div id="website_title">

        </div>
    </div> <!-- end of header -->

    <div id="templatemo_menu">
        <ul>
            <li>
			<a class="current" style="" href="http://www.superspacecat.com/newsite/index1.htm">Home</a></li>
            <li>
			<a target="_parent" style=" href="http://www.superspacecat.com/newsite/comics.htm">Comics</a></li>
            <li>
			<a target="_parent" style="" href="http://www.superspacecat.com/newsite/gaming.htm">Gaming</a></li>
            <li>
			<a style="" href="http://www.superspacecat.com/newsite/events.htm">Events</a><div class="dropdown-content">
      <a href="http://www.superspacecat.com/newsite/tournaments.htm">Tournaments</a>
      <a href="http://www.superspacecat.com/newsite/sales.htm">Sales</a>
      <a href="http://www.superspacecat.com/newsite/otherevents.htm">Other Events</a>
    </div></li>
            <li>
			<a style="" href="http://www.superspacecat.com/newsite/media.htm">Media</a></li>
            <li>
			<a class="style1" style="" href="http://www.superspacecat.com/newsite/contactus.htm">Contact</a></li>
        </ul> 
    </div>    <!-- end of menu -->
    
    <div id="templatemo_content_wrapper">
    
        <div id="templatemo_content">
        	
            <div class="content_title_01" style="text-align: center"><br />
				<img src="http://www.superspacecat.com/newsite/images/openimage3.jpg" width="700" height="298" /><br />
				<br />
				Welcome To <span class="style2">
				SpaceCat</span></div>
          	<div class="style10">
          	&nbsp;</div>
            <h2 class="style3">We are a collector and hobby shop. We specialize 
			in Comics, Magic The Gathering and, and Vintage Video Games. We are 
			the largest store in the area at 2100 square feet, and the oldest, 
			established in 1978. We carry a full line of New and Back Issue 
			comics and Graphic Novels, as well as &nbsp;collecting supplies.
			<span style="mso-fareast-font-family: &quot;Times New Roman&quot;; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA" class="style6">
			We also buy all these items and collectibles from the public.</span></h2>
			<p class="style3">
			<img src="http://www.superspacecat.com/newsite/images/ebayspacecat.png" class="style12" width="144" height="64" /><img src="http://www.superspacecat.com/newsite/images/azspacecat.png" width="193" height="64" /></p>
			<p class="style3">
			&nbsp;<img src="http://www.superspacecat.com/newsite/images/yelpp.png" width="160" height="64" /><img src="http://www.superspacecat.com/newsite/images/facebookspacecat.png" width="181" height="64" /></p>
			<p class="style3">
			&nbsp;</p>
            
            <div class="horizontal_divider_01">&nbsp;</div>
            <div class="cleaner_h30">&nbsp;</div>
            
            <div class="column_02">
	            <div class="content_title_02">News<br />
					<div class="news_title" style="font-family: Arial, Helvetica, sans-serif; font-size: medium; color: #C0C0C0; font-weight: normal;">
						<br />
						Our new site is launched! There is a lot that has 
						changed here at SpaceCat, take your time and have a look 
						around!<br />
						<span class="style14">
					<strong>
						<a href="http://www.superspacecat.com/newsite/news.htm">Read All</a></strong></span></div>
					</div>
			</div>
            
            <div class="cleaner_w50">&nbsp;</div>
            
            <div class="column_02">
                <div class="content_title_02" style="height: 156px">Highlights<br />
					<br />
					<span class="style9">We at SpaceCat now offer a wide range 
					of custom designs and prints tailored to your specific 
					needs. T-shirts, posters, and so much more!<br />
					<strong>
					<a href="http://www.superspacecat.com/newsite/highlights.htm">Read All</a></strong></span></div>                
            </div>
			<div class="cleaner"><br />
				<br />
				&nbsp;</div>
        </div>
        <div class="cleaner">&nbsp;</div>
    </div> <!-- end of content wrapper -->
    
    <div id="templatemo_footer">
		Copyright © 2017 <a href="#">S<span class="style4">paceCat</span></a> | 
		SuperSpaceCat.com</div> 
  <!-- end of footer -->
</div> <!-- end of container -->
<div align=center></div></body>
</html>
              
            
!

CSS

              
                /*
Credit: http://www.templatemo.com
*/

body {
	margin: 0;
	padding: 0;
	line-height: 1.5em;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #989898;
	background: #000000;
}

a:visited {
	color: #FFFFFF;
	text-decoration: none;
	font-weight: normal;
} 

a:link {
	color: #FF0000;
	text-decoration: none;
	font-weight: bold;
} 
a:hover {
	color: #00FF00;
	text-decoration: underline;
}

a:active {
	color: #FF0000;
	text-decoration: underline;
}

.cleaner {
	clear: both;
	width: 100%;
	height: 1px;
	font-size: 1px;	
}

p {
	margin: 0px;
	padding: 0px;
}

img {
	margin: 0px;
	padding: 0px;
	border: none;
}

.cleaner_w10 {
	float: center;
	width: 10px;
	height: 100%;
	font-size: 1px;	
}

.cleaner_h10 {
	clear: both;
	width: 100%;
	height: 10px;
	font-size: 1px;	
}

.cleaner_h20 {
	clear: both;
	width: 100%;
	height: 20px;
	font-size: 1px;	
}

.cleaner_h30 {
	clear: both;
	width: 100%;
	height: 30px;
	font-size: 1px;	
}

.cleaner_h40 {
	clear: both;
	width: 100%;
	height: 40px;
	font-size: 1px;	
}

.cleaner_w50 {
	float: left;
	width: 50px;
	height: 1px;
	font-size: 1px;	
}

.horizontal_divider_01 {
	clear: both;
	width: 100%;
	height: 2px;
	font-size: 1px;	
	background: url(http://www.superspacecat.com/newsite/images/templatemo_horizontal_divider.jpg) repeat-x;
}

.rc_btn_01 a {
	float: left;
	clear: both;
	display: block;
	width: 100px;
	height: 22px;
	padding: 4px 0 0 10px;
	background: url(http://www.superspacecat.com/newsite/images/tempatemo_button_01.jpg) no-repeat;
	color: #000000;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}
.rc_btn_01 a:hover {
	color: #FF0000;
}

#templatemo_container {
	width: 900px;
	margin: 0 auto;
	padding: 0 30px 10px 30px;
} 

#templatemo_header {
	width: 900px;
	height: 178px;
	margin: 0px;
	padding: 0px;
	background: url(http://www.superspacecat.com/newsite/images/templatemo_banner.png) no-repeat;
}

#templatemo_header #website_title {
	width: 900px;
	height: 178px;
	padding: 100px 0 0 0;
	text-align: center;
}

#website_title #title {
	font-size: 50px;
	font-weight: bold;
	color: #ffffff;
	margin-bottom: 15px;
}

#website_title #salgon {
	clear: both;
	font-size: 18px;
	font-weight: bold;
	color:#cccccc;
}

/* banner */
#templatemo_menu{
	float: left;
	width: 900px;
	height: 70px;
	background: url(http://www.superspacecat.com/newsite/images/templatemo_menu_bg.jpg) no-repeat;
}

#templatemo_menu ul {
	width: 600px;
	margin: 26px 0 0 160px;
	padding: 0px;
	list-style: none;
}

#templatemo_menu ul li{
	display: inline-block;
}

#templatemo_menu ul li a{
	display: inline-block;
	padding: 0 20px 14px;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
	background: url(http://www.superspacecat.com/newsite/images/templatemo_menu_divider.gif) top right repeat-y;
	color: #ffffff;
	font-weight: bold;
	outline: none;
}

#templatemo_menu li .current{
	color: #FFFFFF;
}

#templatemo_menu li a:hover{
	color: #FFFFFF;
}
/* end of menu*/
/* end of banner */

/* content */

#templatemo_content_wrapper {
	clear: both;
	width: 900px;
	margin:0 auto;
	background: url(http://www.superspacecat.com/newsite/images/templatemo_content_repeat.png) repeat-y;	
}

#templatemo_content {
	padding: 50px 100px 0 100px;
	background: url(http://www.superspacecat.com/newsite/images/templatemo_content_top.jpg) top center no-repeat;
}

#templatemo_content img{
	float: inherit;
	margin: 3px 15px 5px 0;
	border: none;
}

#templatemo_content p{
	text-align: center;
	margin-bottom: 20px;
}

#templatemo_content .content_title_01{
	color: #FFFFFF;
	font-size: 24px;
	padding-bottom: 10px;
	margin-bottom: 15px;
	font-weight: bold;
}

#templatemo_content .content_title_02{
	color: #FFFFFF;
	font-size: 18px;
	padding-bottom: 10px;
	margin-bottom: 15px;
	font-weight: bold;
}

#templatemo_content .column_02 {
	float: left;
	width: 325px;
}

#templatemo_content .news_section {
	padding-left: 5px;
}

#templatemo_content  .column_02 p{
	margin-bottom: 0px;
}

#templatemo_content .column_02 ul {
	margin: 20px 0 0 30px;
	padding: 0px;
}

#templatemo_content .column_02 li {
	padding: 0 0 5px 0;
}

#templatemo_content .news_title {
	font-weight: bold;
	color: #FFFFFF;
}

/* footer */
#templatemo_footer {
	clear: both;
	width: 900px;
	height: 35px;
	padding-top: 55px;
	color: #FFFFFF;
	text-align: center;
	background: url(http://www.superspacecat.com/newsite/images/templatemo_footer.png) no-repeat;
}

#templatemo_footer a{
	color: #FFFFFF;
	font-weight: bold;
}
/* end of footer */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
#templatemo_menu .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
#templatemo_menu li:hover .dropdown-content {
    display: block;
}
#templatemo_menu .dropdown-content a:hover {
  color: #000;
}
              
            
!

JS

              
                
              
            
!
999px
What did the HTML say to the CSS? I like your style.

Console