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

Auto Save

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

              
                <div id="wrap">
	<div id="container">
		<div id="tabs">
			<ul>
				<li id="One"><a href="#One" id="first">1ero</a>
					<div>
						<p>En el tutorial de hoy les voy a compartir una forma sencilla de realizar News Ticker y Barra de notificaciones utilizando CSS3, NO JAVASCRIPT. Antes era muy difícil de codificar en javascript y hacer que funcione con otros plugins, pero hoy he decidido hacer posible en CSS3 y voila, logré Así que vamos </p>
					</div>
				</li>
				<li id="Two"><a href="#Two" id="sec">2do</a>
					<div>
						<p>Al leer más sobre HTML5 y CSS3 que acabo de encontrar un botón de increíble css3 estilo. Esta vez quería hacer algo que estaba haciendo desde los últimos 2 años utilizando JQuery. En este tutorial voy a enseñar cómo hacer una slideDown palanca y la función slideUp usando CSS3 y HTML5.</p>
					</div>
				</li>
				<li id="Three"><a href="#Three" id="third">3ero</a>
					<div>
						<p>Vamos a empezar a aprender CSS3 antes de que sea demasiado tarde, acabo de ver un sitio web que me sorprendió con sus efectos de animación. Primero pensé que el sitio está utilizando algunas librerías jQuery pero cuando en realidad fue en el código, lo encontré es CSS3. Así que empecé a aprenderlo, y hoy hice mi primer Leer más ... </p>
					</div>
				</li>
			</ul>
		</div>
	</div>
</div>
              
            
!

CSS

              
                body {
	padding: 0px;
	margin: 0px;
	font-family: tahoma;
	background-color: #CCC;
}
@font-face {
	font-family: icons;
	src: url('../fonts/icons.ttf');
}

*::-moz-selection {
	background: none repeat scroll 0 0 #F26D5E;
	color: white;
}

#bar {
	position: fixed;
	width: 100%;
	top: 0;
}

#content > p {
	font-size: 13px;
	line-height: 24px;
	text-align: left;
	color: #416C80;
}

li div p {
	font-size: 13px;
	line-height: 24px;
	text-align: left;
	color: #888888;
}

a {
	color: #888888;
	text-decoration: none;
	outline: none;
}

#tabs-content {
	position: relative;
	clear: both;
}

li div {
	-webkit-transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	-o-transition: all 0.5s ease 0s;
	-ms-transition: all 0.5s ease 0s;
	transition: all 0.5s ease 0s;
	border: 1px solid #888888;
	float: left;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	padding: 0 15px;
	position: absolute;
	visibility: hidden;
	width: 250px;
	left: 0;

	background: -webkit-gradient(linear, left top, left bottom, from(#E3E3E3), to(#FFFFFF));
	background: -moz-linear-gradient(center top , #E3E3E3, #FFFFFF 85px) repeat scroll 0 0 transparent;
	background: -o-linear-gradient(center top , #E3E3E3, #FFFFFF 85px) repeat scroll 0 0 transparent;
	background: -ms-linear-gradient(center top , #E3E3E3, #FFFFFF 85px) repeat scroll 0 0 transparent;
	background: linear-gradient(center top , #E3E3E3, #FFFFFF 85px) repeat scroll 0 0 transparent;
}

#tabs {
	margin: 10px auto;
	min-height: 250px;
	width: 300px;
}

ul {
	float: left;
	margin: 0;
	padding: 0;
	position: relative;
}

#tabs li {
	float: left;
	list-style-type: none;
}

#tabs li a {
	background: -webkit-gradient(linear, left top, left bottom, from(#E3E3E3), to(#FFFFFF));
	background: -moz-linear-gradient(center top , #E3E3E3, #FFFFFF 18px) repeat scroll 0 0 transparent;
	background: -o-linear-gradient(center top , #E3E3E3, #FFFFFF 18px) repeat scroll 0 0 transparent;
	background: -ms-linear-gradient(center top , #E3E3E3, #FFFFFF 18px) repeat scroll 0 0 transparent;
	background: linear-gradient(center top , #E3E3E3, #FFFFFF 18px) repeat scroll 0 0 transparent;
	border: 1px solid #888888;
	margin: 0 3px 0 0;
	padding: 5px 25px;
	position: relative;
	z-index: 1;
	font-size: 14px;

	-webkit-border-radius: 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0;
	border-radius: 10px 10px 0 0;
	display: block;
	top: 1px;
}

#tabs li a:hover {
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#E3E3E3));
	background: -moz-linear-gradient(center top , #FFFFFF 12px, #E3E3E3 25px) repeat scroll 0 0 transparent;
	background: -o-linear-gradient(center top , #FFFFFF 12px, #E3E3E3 25px) repeat scroll 0 0 transparent;
	background: -ms-linear-gradient(center top , #FFFFFF 12px, #E3E3E3 25px) repeat scroll 0 0 transparent;
	background: linear-gradient(center top , #FFFFFF 12px, #E3E3E3 25px) repeat scroll 0 0 transparent;
}

#tabs-content div p {
	position: relative;
	text-align: justify;
}

#One:target a,#Two:target a,#Three:target a {
	color: #000000;
	border-bottom: none;
	top: 1px;

	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#E3E3E3));
	background: -moz-linear-gradient(center top , #FFFFFF 12px, #E3E3E3 25px) repeat scroll 0 0 transparent;
	background: -o-linear-gradient(center top , #FFFFFF 12px, #E3E3E3 25px) repeat scroll 0 0 transparent;
	background: -ms-linear-gradient(center top , #FFFFFF 12px, #E3E3E3 25px) repeat scroll 0 0 transparent;
	background: linear-gradient(center top , #FFFFFF 12px, #E3E3E3 25px) repeat scroll 0 0 transparent;
	padding-top: 6px;
}

#One:target div,#Two:target div,#Three:target div {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
	visibility: visible;
}

#wrap {
	margin: 0 auto;
	width: 1000px;
}
#wrap img{
	padding-top:20px;
	margin: 0 auto;
	display:block;
}

#container {
	background: none repeat scroll 0 0 rgba(255, 255, 255, 0.3);

	-webkit-border-radius: 20px 20px 20px 20px;
	-moz-border-radius: 20px 20px 20px 20px;
	border-radius: 20px 20px 20px 20px;

	-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.09) inset;
	-moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.09) inset;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.09) inset;
	color: #416C80;
	margin: 50px auto;
	padding: 50px 60px;
	width: 700px;
}

i {
	-webkit-transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	-o-transition: all 0.5s ease 0s;
	-ms-transition: all 0.5s ease 0s;
	transition: all 0.5s ease 0s;
}

i:hover {
	background: none repeat scroll 0 0 #F26D5E;
	color: #FFFFFF;
}
              
            
!

JS

              
                
              
            
!
999px

Console