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

              
                <!doctype html>
<html><!-- InstanceBegin template="/Templates/charliemain.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<link href='https://fonts.googleapis.com/css?family=Signika:300,600' rel='stylesheet' type='text/css'>
    <!-- Place somewhere in the <head> of your document -->
    <link rel="stylesheet" href="flexslider.css" type="text/css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
    <script src="jquery.flexslider.js"></script>
<!-- Place in the <head>, after the three links -->
<script type="text/javascript" charset="utf-8">
  $(window).load(function() {
    $('.flexslider').flexslider();
  });
  $('.flex-next').on('click',function () {
    $('.flexslider').flexslider("play");
});
$('.flex-prev').on('click',function () {
    $('.flexslider').flexslider("play");
});
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- InstanceBeginEditable name="doctitle" -->
<title>event management, copywriting, freelance marketing, website design</title>
<!-- InstanceEndEditable -->
<link href="charliestyle.css" rel="stylesheet" type="text/css" />
<!-- InstanceBeginEditable name="head" -->
<meta name="Description" content="Independent Marketing Services company specialising in Event Management, Marketing Communications Planning, Copywriting, Telemarketing and Web Design for the small to medium sized business." />
<!-- InstanceEndEditable -->
<script type="text/javascript">
var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-31084152-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
<style type="text/css">
<!--
body {
	background: url(bigbg.jpg) no-repeat center center fixed;
	/**for Safari,Chrome**/
	-webkit-background-size: cover;
	/**for Firefox**/
	-moz-background-size: cover;
	/**for Opera**/
	-o-background-size: cover;
	/**for other browsers**/
	background-size: cover;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	height: 100%;
    width: 100%;
	background-attachment: fixed;
	overflow: hidden; /*added*/
	} 
-->
</style>
</head>

<body onLoad="MM_preloadImages('images/twitter-35-dark.png','images/facebook-35-dark.png','images/linkedin-35-dark.png','images/blogger-35-dark.png')">
<div id="wrapper">
	<div id="container">
  		<div id="banner"><a href="index.html"><img src="images/logo-charlie.jpg" alt="Charlie Apple Logo"></a></div><!--end banner div -->
  
  	<nav>
        <label for="toggle-mobile-menu">&#9776; Menu</label>
        <input id="toggle-mobile-menu" type="checkbox"/>
        <ul>
              <li><a href="about-us.html">about us</a></li>
              <li><a href="index.html">services</a>
                <ul>
                  <li><a href="event-management.html">event management</a></li>
                  <li><a href="website-design.html">website design</a></li>
                  <li><a href="graphic-design.html">graphic design</a></li>
                  <li><a href="copywriting-services.html">copywriting</a></li>
                  <li><a href="freelance-marketing.html">freelance marketing</a></li>
                  <li><a href="marketing-communications.html">marcomms</a></li>
                  <li><a href="workshops.html">workshops & training</a></li>
                  <li><a href="telemarketing-services.html">telemarketing</a></li>
                </ul>
              </li>
              <li><a href="pricing.html">pricing</a></li>
              <li><a href="our-work.html">our work</a>
              <li><a href="testimonials.html">testimonials</a></li>
              <li><a href="https://charlieapplemarketing.blogspot.co.uk/">blog</a></li>
              <li class="last"><a href="contact-us.html">contact</a></li>
        </ul>
      </nav>
  
  <!-- InstanceBeginEditable name="pagebannergraphic" --><meta name="keywords" content="Events,events,Event Planning,Event Management,seminars,Seminars,AGM, awards ceremonies,conferences,exhibitions,conference production,conference producer,conference organiser,conference organising,Corporate Hospitality, Corporate Entertainment,Copywriting,copywriting,marketing,Direct Marketing, direct marketing,marketing consultant,marketing consultancy,marketing communications,marketing communications planning,PR,Public Relations,Press Relations,Campaign,campaign management,Marketing Campaign,Marketing Campaign Management,Brochures,Fliers,Newsletters,Advertorials,Print Production,telemarketing,Telemarketing,web content,Web Content, web design,appointment setting,marketing services,small business,medium business,small to medium business, sme,SME,Small Business,freelancer,freelance marketing,freelance,Freelance, Freelance Marketing,marketing services,Marketing Services,marketing consultancy,consultancy,Consultancy,Consultant" />

  <div id="slideshow"> 
    <!-- Place somewhere in the <body> of your page -->
            <div class="flexslider">
              <ul class="slides">
                <li>
                  <img src="images/banner-events1.jpg"/>
                </li>
                <li>
                  <img src="images/banner-events2.jpg"/>
                </li>
                <li>
                  <img src="images/banner-websites.jpg"/>
                </li>
                <li>
                  <img src="images/banner-print.jpg"/>
                </li>
                <li>
                  <img src="images/banner-logos.jpg"/>
                </li>
                <li>
                  <img src="images/banner-copywriting.jpg"/>
                </li>
                <li>
                  <img src="images/banner-freelance.jpg"/>
                </li>
                <li>
                  <img src="images/banner-marcomms.jpg"/>
                </li>
                <li>
                  <img src="images/banner-workshops.jpg"/>
                </li>
                <li>
                  <img src="images/banner-telemarketing.jpg"/>
                </li>
               
              </ul>
            </div><!--end flexslider div -->
    
       
    
  </div><!--end slideshow div -->
  <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="editbodycopy" -->
  <div id="bodycopy">
  	<div id="LeftCol">
    <h1>Welcome to Charlie Apple - events, design and marketing</h1>
    <h2>event management - graphic design - marketing services for your business</h2>
    <p>We are a small, independent events and marketing services company with over 30 years' experience under our belt. We have worked with <a href="our-work.html">businesses</a> of all shapes and sizes, from sole traders to corporates, in retail and services, commercial and non-profits, B2B and B2C, and across many industry sectors. </p>
    <p>Let us use our expertise to help you with any one or more of the services we offer - <a href="event-management.html">event management</a>, <a href="website-design.html">website design</a>, <a href="graphic-design.html">graphic design</a>, <a href="marketing-communications.html">marketing communications and strategy</a>, <a href="copywriting-services.html">copywriting</a>, <a href="freelance-marketing.html">freelance marketing consultancy</a> and <a href="telemarketing-services.html">telemarketing</a>.  </p>
    <p>We can even train you or your staff through our <a href="workshops.html">workshops and training</a> service, bringing our expertise to your door.</p>
    </div><!--end leftcol div -->
    <div id="RightCol"><img src="images/quote-north-creperie.png"></div>
    <!--end rightcol div-->
    
<p>&nbsp;</p>
  </div>
<!-- InstanceEndEditable -->
  <!--end bodycopy div -->
   	  <div id="footer">
   	    <div id="footer1">
   	      <h2>Services
   	        </h2>
   	      <p> <a href="event-management.html">event management</a><br>
   	        <a href="website-design.html">website design</a><br>
   	        <a href="graphic-design.html">graphic design</a><br>
   	        <a href="copywriting-services.html">copywriting</a><br>
   	        <a href="freelance-marketing.html">freelance marketing</a><br>
   	        <a href="marketing-communications.html">communications &amp; strategy</a><br>
   	        <a href="workshops.html">workshops &amp; training</a><br>
   	        <a href="telemarketing-services.html">telemarketing</a> </p>
   	      </div><!--end footer1 -->
   	    <div id="footer2">
   	      <h2>Social</h2>
   	      <p><a href="https://www.twitter.com/charlieapplem" target="_blank" onMouseOver="MM_swapImage('twitter','','images/twitter-35-dark.png',1)" onMouseOut="MM_swapImgRestore()"><img src="images/twitter-35-light.png" alt="follow charlieapple on twitter" width="35" height="35" id="twitter"></a><a href="https://www.facebook.com/charlieapplemarketing" target="_blank" onMouseOver="MM_swapImage('facebook','','images/facebook-35-dark.png',1)" onMouseOut="MM_swapImgRestore()"><img src="images/facebook-35-light.png" alt="like us on facebook" width="35" height="35" id="facebook"></a><a href="https://www.linkedin.com/company/charlie-apple-events-&-marketing" target="_blank" onMouseOver="MM_swapImage('linkedin','','images/linkedin-35-dark.png',1)" onMouseOut="MM_swapImgRestore()"><img src="images/linkedin-35-light.png" alt="connect on LinkedIn" width="35" height="35" id="linkedin"></a><a href="https://charlieapplemarketing.blogspot.co.uk/" target="_blank" onMouseOver="MM_swapImage('blog','','images/blogger-35-dark.png',1)" onMouseOut="MM_swapImgRestore()"><img src="images/blogger-35-light.png" alt="read our blog" width="35" height="35" id="blog"></a></p>
   	      </div><!--end footer2 -->
   	    <div id="footer3">
   	      <h2>Contact Us</h2>
   	      <p>Tel: 020 8668 6921<br>
   	        Mob: 07973 987779<br>
   	        <a href="mailto:info@charlieapple.com">info@charlieapple.com</a> </p>
   	      </div>
 	    </div>
   	  <!--end footer3 div -->
  </div><!--end container div -->
</div><!--end wrapper div-->
</body>
<!-- InstanceEnd --></html>
              
            
!

CSS

              
                @charset "utf-8";
/* CSS Document */

* {
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
    box-sizing: border-box;
    /* Opera/IE 8+ */
}

/* =====NAVIGATION===== */

nav {
	width: 930px;
	display: block;
	position: relative;
	min-height: 31px;
}
nav, nav a {
    color: DimGray;
    text-decoration: none;
}
nav a {
    width: 130px;
	display: block;
    padding: 1px;
	text-align: center;
}
nav a:hover {
    color: LimeGreen;
}
nav ul {
    padding:0;
    margin: 0;
}
nav ul li {
    float:left;
    display:inline;
    position:relative;
        
}
nav ul li ul {
    left:0;
    top:100%;
}
nav ul ul {
    display:none;
}
nav li:hover > ul {
    display:block;
    position:absolute;
    z-index:1000;
    width: 130px;
	background: white;
	font-size: 85%; /*added*/
	/*line-height: 30px; /*added*/
}
nav ul ul li:hover > ul {
    right: -120px;
    top: 0;
    left: auto;
	background: white;
}

/*Hide checkbox and label by default*/
nav > input,
nav > label {
  display: none;
}

nav > label {
  width: 100%;
  float: left;
  padding: 10px;
  padding-right: 0;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* END OF NAVIGATION SECTION */


#container {
	margin-right: auto;
	margin-left: auto;
	font-family: 'Signika', sans-serif;
	font-size: 12pt;
	width: 930px;
	padding: 15px;
	background-color: white;
	margin-top: 0em;
	margin-bottom: 0em;
}

/* old CSS */
#container #slideshow .flexslider {
	clear: left;
}/* end old CSS */

#banner img {
	/*width: 100%*/
	display: block;/*added*/
	margin-left: auto;/*added*/
    margin-right: auto;	/*added*/
	
}
	

#slideshow img {width: 100%; height: auto}

#bodycopy {
	font-size: 15px;
	line-height: 20px;
	padding: 5px;
	width: 910px;/*changed from 920*/
	background-color: white;/*added*/
}

#bodycopy p a:link {
	text-decoration: none;
	color: #009746;/*added*/
	font-weight: bold;
}

#bodycopy p a:visited {
	text-decoration: none;
	color: #009746;/*added*/
	font-weight: bold;
}

#bodycopy p a:hover {
	text-decoration: underline;
	color: #005528;/*added*/
	font-weight: bold;
}

#bodycopy p a:active {
	text-decoration: underline;
	color: #005528;/*added*/
	font-weight: bold;
}
#bodycopy h1 {
	color: #005528;/*added*/
	line-height: 28px;
}

#bodycopy h2 {
	color: #009746;/*added*/
	line-height: 24px;
}

#bodycopy h3 {
	color: #009746;/*added*/
}

#LeftCol{
	width: 550px;
	float: left;
	padding-right: 10px;
	padding-bottom: 10px;
	background-color: white;/*added*/
	}

#RightCol{
	width: 350px;
	float: left;
	padding-left: 10px; /*added*/
	padding-right: 10px;
	padding-bottom: 10px;
	background-color: white;/*added*/
	}

#RightCol img{
	padding-top: 55px;
	
	}

/* =====FOOTER SECTION====== */

/* old CSS */
#footer  {
	font-size: 85%;
	text-align: left;
	clear: both;/*added*/
	background-color: white;/*added*/
	height: 210px;/*added*/
	border-top-width: 1px;/*added*/
	border-top-style: dotted;/*added*/
	border-top-color: #005528;/*added*/
}/* end old CSS */

#footer1 {
	width: 300px;
	float: left;
	background-color: #FFF;
	height: 210px;
	padding-left: 10px;
	display: inline;
}
#footer2 {
	float: left;
	width: 300px;
	background-color: #FFF;
	height: 210px;
	padding-left: 10px;
	display: inline;
}
#footer3 {
	float: left;
	width: 300px;
	background-color: #FFF;
	height: 210px;
	padding-left: 10px;
	display: inline;
}

/* old CSS */
#container #footer a:link {
	font-size: 100%;
	color: #999;
	text-decoration: none;
}/* end old CSS */

/* old CSS */
#container #footer a:visited {
	font-size: 100%;
	color: #999;
	text-decoration: none;
}/* end old CSS */

/* old CSS */
#container #footer a:hover {
	font-size: 100%;
	color: #666;
	text-decoration: underline;
}/* end old CSS */

/* old CSS */
#container #footer a:active {
	font-size: 100%;
	color: #666;
	text-decoration: underline;
}/* end old CSS */

/* ==== END FOOTER SECTION =====/*


/* ===== MEDIA QUERIES ====== */

@media (max-width: 910px) {
    nav > label, nav ul li ul {
        display: block;
		font-size: 100%; /*added line*/
    }
    nav > ul {
        width: 100%;
		display: none;
        clear: both;
		font-size: 100%; /*added line*/
    }
    nav > input:checked + ul {
        display: block;
    }
    nav ul ul li a:before {
        display: block;
    }
    nav ul li {
        float: none;
        display: block;
        border-right: none;
        padding-left: 10px;
		font-size: 100%; /*added line*/
    }
    nav li:hover ul {
        position: relative;
        width: auto;
		font-size: 100%; /*added line*/
		
    }
    nav ul ul li:hover > ul {
        right:auto;
        top: auto;
        left: auto;
		font-size: 100%; /*added line*/
		
    }
	
	nav a {
    width: 100%; /*changing from 150px to 100% 17th Feb 12.45 */
	display: block;
    padding: 5px;
	text-align: left;
	font-size: 100%; /*added line*/
	}

	#wrapper {width: 100%;!important}
	#container{width: 100%;}
	
body {
	background-image:none!important;
	overflow-x:hidden;
}

	#banner img {
		/*width: 100%*/}

	#slideshow img {width: 100%; height: auto;}

	#bodycopy{width:100%;}
	
	#LeftCol{width:70%}
	
	#RightCol{width:30%}
	#RightCol img{width:100%; height:auto;}

	#footer1 {width: 260px;}
	#footer2 {width: 260px;}
	#footer3 {width: 260px;}

}

@media (max-width: 810px) {
	
	#footer1 {width: 200px;}
	#footer2 {width: 200px;}
	#footer3 {width: 200px;}
}

@media (max-width: 640px) {
	
	#LeftCol{width:100%}
	
	#RightCol{width:100%}
	
	#RightCol img{
	max-width: 300px;
	height: auto;
	padding-top: 5px; /* was 15px*/
	display: block;/*added*/
	margin-left: auto;/*added*/
    margin-right: auto;	/*added*/
}

@media (max-width: 630px) {
	
	#footer2 {height: 105px; width: 170px}
	#footer3 {height: 110px; width: 170px}
}

@media (max-width: 400px) {
	
	#container {padding:0px;}
	#footer1 {display: inline-block; float:none; height: auto; width: 100%; text-align:center; font-size:100%;}
	#footer2 {display: inline-block; float:none; height: auto; width: 100%; text-align:center; font-size:100%;}
	#footer3 {display: inline-block; float:none; height: 150px; width: 100%; text-align:center; font-size:100%;}
	#banner img {width: 100%}
	body{
    overflow-x:hidden;/*added to remove whitespace doesn't work*/
}
}
}


              
            
!

JS

              
                
              
            
!
999px
How would you React if I said I love Vue?

Console