Pen Settings



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


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


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.



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


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.


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 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


<meta charset="utf-8">
<title>Banner de Prueba</title>
<link rel="stylesheet" href="css/banner2.css">
<div id="masterbanner">
    <div id="mainbanner">
        <a href="">
        <div id="alumno_cato"><img src=""></div>
        <div id="texto-cato"><img src=""></div>
		<a href="">
        <div id="alumno_uni"><img src=""></div>
        <div id="texto-uni"><img src=""></div>
        <a href=""><div id="imagen3"><img src=""></div></a>
        <a href=""><div id="imagen4"><img src=""></div></a>
      <!--  <div id="futuro">
        <p>Ahora academia en</p>
        <h3>VILLA EL SALVADOR</h3>


                html,body{ margin:0;padding:0;height:100%; max-height:480px;}
#masterbanner{ margin:0 auto; padding:0; width:100%; background-color:#4891CE; background:url(; background-repeat:no-repeat; background-size:cover; height:100%;}
#mainbanner{ margin:0 auto;padding:0; max-width:2000px; height:100%; max-height:480px; background-color:transparent; perspective:2000px;-webkit-font-smoothing: antialiased; overflow: hidden;}

#iphone{ visibility:visible;  }
#alumno_cato{ visibility:visible; left:65%; position:relative; }
#alumno_cato img{ height:100%; padding:0; margin:0;}
#texto-cato{ visibility:visible; left:10%; position:absolute; top:10%;}
#texto-cato img{ height:100%; padding:0; margin:0;}
#alumno_uni{ visibility:visible; left:50%; position:absolute; top:0%; }
#alumno_uni img{ height:100%; padding:0; margin:0;}
#texto-uni{ visibility:visible; left:10%; position:absolute; top:10%;}
#texto-uni img{ height:100%; padding:0; margin:0;}
#imagen3 img{ position:absolute !important; top:0% !important; left:0 !important; visibility:visible; z-index:80;}
#imagen4 img{ position:absolute !important; top:0% !important; left:0 !important; visibility:visible; z-index:80;}


                $(document).ready(function(e) {
		var w = $(window);
		var ww = w.width();
		var hw = w.height();
		var masterbanner = $('#masterbanner');
		function testlider1(){
			var alumno_cato = $('#alumno_cato');
			var alumno_cato_img = $('#alumno_uni img');
			var texto_cato = $('#texto-cato');
			var texto_cato_img = $('#texto-cato img');
			var alumno_uni = $('#alumno_uni');
			var alumno_cato_img = $('#alumno_cato img');
			var texto_uni = $('#texto-uni');
			var texto_uni_img = $('#texto_uni img');
			var imagen3 = $('#imagen3 img');
			var imagen4 = $('#imagen4 img');

//			var labeliphone = $('#labeliphone');
			var ipad = $('#ipad');
			var ipadImg = $('#ipad img');
			var futuro = $('#futuro');
			var textos = $('#futuro p');
			var h3 = $('#futuro h3');
			var tl = new TimelineMax({repeatDelay: 7, repeat:-1});
//			tl.set(labeliphone,{autoAlpha:0,immediateRender:true,force3D:true});
//			tl.set($('#labeliphone span'),{css:{'position':'relative'},immediateRender:true,force3D:true});
//			tl.set(ipad,{xPercent:65,y:25})
			tl.from(alumno_uni,2,{css:{x:890, transformOrigin:"50% 50% 600px", autoAlpha:0},force3D:true},"alumno_uni")
			.from(alumno_cato,2,{css:{x:890, transformOrigin:"50% 50% 600px", autoAlpha:0},force3D:true, ease: Circ.easeOut, y: 0},"alumno_uni+=12")

$(window).resize(function(e) {
		var w = $(window);
		var ww = w.width();
		var hw = w.height();
		var masterbanner = $('#masterbanner');
		var alumno_cato_img = $('#alumno_cato img');
		var alumno_uni_img = $('#alumno_uni img');
		var texto_cato_img = $('#texto-cato img');	
		var texto_uni_img = $('#texto-uni img');	
		var imagen3 = $('#imagen3 img');
		var imagen4 = $('#imagen4 img');
Why did the programmer quit her job? She didn't get arrays.