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

              
                <!-- Google Business Card-->
<div id="card">
	<h1>Go<b>o</b><b>g</b><b>l</b>e</h1>
	<div class="content">
		<span class="text">
		<h2>Arbaoui Mehdi<span>&nbsp;</span></h2>
		</span>
		<ul>
			<li>
				<span><a href="http://www.depotwebdesigner.com"><b>Arbaoui Mehdi</b> (webdesigner &amp; frontend developer)</a></span>
				<span ><a href="http://www.depotwebdesigner.com">http://www.depotwebdesigner.com</a></span>
				<span>Mobile: +212670724242</span>
				<span>Email: <b>arbaoui.mehdi</b>@gmail.com</span>
			</li>
		</ul>
	</div>

</div>
              
            
!

CSS

              
                /* Copyright Arbaoui Mehdi 2013 */

body {
  font-family: Georgia;
  background-image: linear-gradient(90deg, rgba(200, 0, 0, 0.5) 50%, transparent 50%), linear-gradient(rgba(200, 0, 0, 0.5) 50%, transparent 50%);
  background-image: -webkit-linear-gradient(0, rgba(200, 0, 0, 0.5) 50%, transparent 50%), -webkit-linear-gradient(rgba(200, 0, 0, 0.5) 50%, transparent 50%);
  background-image: -o-linear-gradient(0, rgba(200, 0, 0, 0.5) 50%, transparent 50%), -webkit-linear-gradient(rgba(200, 0, 0, 0.5) 50%, transparent 50%);
  background-size: 50px 50px; }

#card {
  background: #fff;
  width: 450px;
  height: 185px;
  margin: 3% auto;
  padding: 20px 30px;
  border: 1px solid white;
  -webkit-box-shadow: -1px 1px 8px 5px rgba(0, 0, 0, 0.2), inset 0 0 30px rgba(0, 0, 0, 0.1);
  -o-box-shadow: -1px 1px 8px 5px rgba(0, 0, 0, 0.2), inset 0 0 30px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: -1px 1px 8px 5px rgba(0, 0, 0, 0.2), inset 0 0 30px rgba(0, 0, 0, 0.1);
  -khtml-box-shadow: -1px 1px 8px 5px rgba(0, 0, 0, 0.2), inset 0 0 30px rgba(0, 0, 0, 0.1);
  -ms-box-shadow: -1px 1px 8px 5px rgba(0, 0, 0, 0.2), inset 0 0 30px rgba(0, 0, 0, 0.1);
  box-shadow: -1px 1px 8px 5px rgba(0, 0, 0, 0.2), inset 0 0 30px rgba(0, 0, 0, 0.1);
  text-align: center; }
  #card h1 {
    color: #dc152c;
    font-weight: normal;
    font-size: 48px;
    margin: 0 0 10px 0; }
    #card h1::first-letter {
      color: #194ff7; }
    #card h1 b {
      color: #f1840b;
      font-weight: normal; }
    #card h1 b + b {
      color: #194ff7; }
    #card h1 b + b + b {
      color: #00940e; }

.content {
  text-align: left;
  /* Pure CSS3 typing animation with steps() :
     http://lea.verou.me/2011/09/pure-css3-typing-animation-with-steps/ */ }
  .content ul {
    padding: 0;
    margin: 0;
    font: 16px Arial; }
    .content ul li {
      list-style: none; }
      .content ul li a {
        color: #12C; }
      .content ul li span {
        display: block;
        width: 100%;
        margin-bottom: 2px; }
        .content ul li span:nth-child(2) {
          margin-bottom: 10px; }
          .content ul li span:nth-child(2) a {
            color: #093;
            text-decoration: none; }
        .content ul li span:nth-child(3), .content ul li span:nth-child(4) {
          font-size: 14px; }
  .content .text {
    border: 1px solid #7ec6fd;
    float: left;
    width: 100%;
    margin-bottom: 10px; }
    .content .text h2 {
      position: relative;
      float: left;
      font-size: 100%;
      font-weight: normal;
      padding: 0;
      margin: 5px 10px; }
      .content .text h2 span {
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        background: white;
        /* same as background */
        border-left: 0.1em solid black;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-animation: typing 1s steps(20, end), blink-caret 1s step-end infinite;
        -moz-animation: typing 1s steps(20, end), blink-caret 1s step-end infinite; }

/* Animate CSS : https://daneden.me/animate/ */
.animated {
  -webkit-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -khtml-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 0.4s;
  -o-animation-duration: 0.4s;
  -moz-animation-duration: 0.4s;
  -khtml-animation-duration: 0.4s;
  -ms-animation-duration: 0.4s;
  animation-duration: 0.4s; }

.fadeIn {
  -webkit-animation-name: fadeIn;
  -o-animation-name: fadeIn;
  -moz-animation-name: fadeIn;
  -khtml-animation-name: fadeIn;
  -ms-animation-name: fadeIn;
  animation-name: fadeIn; }

/* Typing keyframes */
@-webkit-keyframes typing {
  0% {
    width: 100%; }

  100% {
    width: 0; } }

@-moz-keyframes typing {
  0% {
    width: 100%; }

  100% {
    width: 0; } }

@-o-keyframes typing {
  0% {
    width: 100%; }

  100% {
    width: 0; } }

@keyframes typing {
  0% {
    width: 100%; }

  100% {
    width: 0; } }

/* FadeIn keyframes */
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }

@-moz-keyframes fadeIn {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }

@-o-keyframes fadeIn {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }

@keyframes fadeIn {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }
              
            
!

JS

              
                	$(function() {
		$('ul').hide();
	});

	setInterval(function() {
      $('ul').show().addClass("animated fadeIn");
}, 1100);
              
            
!
999px

Console