cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <div class="wrapper">
  <section class="stage-0">
    <div class="logo">
      <div class="elipse elipse1"></div>
      <div class="elipse elipse2"></div>
      <div class="elipse elipse3"></div>
      <div class="elipse elipse4"></div>
      <div class="elipse elipse5"></div>
      <div class="elipse elipse6"></div>
      <div class="elipse elipse7"></div>
      <div class="elipse elipse8"></div>
      <div class="elipse elipse9"></div>
      <div class="curved-top">WHO WANTS TO BE A</div>
      <div class="title">MILLIONAIRE</div>
      <div class="curved-bottom">WHO WANTS TO BE A</div>
      <div class="inner-circle"></div>
    </div>
  </section>
</div>
            
          
!
            
              * {
  margin: 0;
  padding: 0;
  border: 0;
}

html, body {
  height: 100%;
}

body {
  background: #425ca9;
  font-family: Arial;
}

.wrapper {
  width: 100%;
  height: 100%;
}

section {
  
}

.logo {
  width: 500px;
  height: 500px;
  background: linear-gradient(-45deg, #000 10%, #425ca9 90%);
  border-radius: 50%;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 10px solid #c9def3;
  text-shadow: 5px 5px 0px #000;
  .elipse {
    width: 40px;
    height: 420px;
    position: absolute;
    border: 2px solid #9db7d2;
    border-radius: 50% 100%;
    z-index: 5;
    left: 230px;
    top: 40px;
  }
  @for $i from 1 through 9 {
    .elipse#{$i} {
      transform: rotate(($i * 20)+deg);
    }
  }
  .curved-top {
    transform: rotate(-87deg);
    font-size: 25px;
    position: absolute;
    top: 260px;
    left: 0;
    font-weight: bold;
    color: #fff;
    span {
      height: 250px;
      position: absolute;
      width: 25px;
      left: 0;
      top: 0;
      transform-origin: bottom center;
    }
    @for $i from 1 through 100 {
      .char#{$i} {
        transform: rotate(($i*10)+deg);
      }
    }
  }
  .inner-circle {
    width: 380px;
    height: 380px;
    position: absolute;
    background: #001621;
    border: 10px solid #d2e4fa;
    border-radius: 50%;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
  }
  .title {
    font-size: 60px;
    width: 500px;
    z-index: 10;
    position: absolute;
    font-weight: bold;
    color: #fff;
    text-align: center;
    top: 215px;
  }
  .curved-bottom {
    transform: rotate(-85deg);
    font-size: 25px;
    position: absolute;
    bottom: 260px;
    left: 0;
    font-weight: bold;
    color: #fff;
    span {
      height: 250px;
      position: absolute;
      width: 25px;
      left: 0;
      top: 0;
      transform-origin: bottom center;
    }
    @for $i from 1 through 100 {
      .char#{$i} {
        transform: rotate(-($i*10)+deg);
      }
    }
  }
}
            
          
!
            
              $(document).ready(function() {
  $('.curved-top, .curved-bottom').lettering();
});

(function($){
	function injector(t, splitter, klass, after) {
		var a = t.text().split(splitter), inject = '';
		if (a.length) {
			$(a).each(function(i, item) {
				inject += '<span class="'+klass+(i+1)+'">'+item+'</span>'+after;
			});	
			t.empty().append(inject);
		}
	}
	
	var methods = {
		init : function() {

			return this.each(function() {
				injector($(this), '', 'char', '');
			});

		},

		words : function() {

			return this.each(function() {
				injector($(this), ' ', 'word', ' ');
			});

		},
		
		lines : function() {

			return this.each(function() {
				var r = "eefec303079ad17405c889e092e105b0";
				// Because it's hard to split a <br/> tag consistently across browsers,
				// (*ahem* IE *ahem*), we replace all <br/> instances with an md5 hash 
				// (of the word "split").  If you're trying to use this plugin on that 
				// md5 hash string, it will fail because you're being ridiculous.
				injector($(this).children("br").replaceWith(r).end(), r, 'line', '');
			});

		}
	};

	$.fn.lettering = function( method ) {
		// Method calling logic
		if ( method && methods[method] ) {
			return methods[ method ].apply( this, [].slice.call( arguments, 1 ));
		} else if ( method === 'letters' || ! method ) {
			return methods.init.apply( this, [].slice.call( arguments, 0 ) ); // always pass an array
		}
		$.error( 'Method ' +  method + ' does not exist on jQuery.lettering' );
		return this;
	};

})(jQuery);
            
          
!
999px
Loading ..................

Console