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.

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.

HTML

              
                <header id="home">
   
      <div class="home-content">

          <div class="container">

              <div class="row">

                <div class="col-xs-12 col-md-6 col-md-offset-3">

                      
                      <div class="home-semicircle-outer">

                         
                          <div class="home-semicircle-inner">

                          </div><!-- /.home-semicircle-inner -->

                          <div id="home-semicircle-pointer"></div>

                          <nav>
                            <ul class="cl-effect-15">
                              <li class="first-position"><a href="#" data-hover="On">On</a></li>
                              <li class="second-position"><a href="#" data-hover="Webdesign">Webdesign</a></li>
                              <li class="third-position"><a href="#" data-hover="Wordpress Dev">Wordpress Dev</a></li>
                              <li class="fourth-position"><a href="#" data-hover="Front End">Front End</a></li>
                              <li class="fifth-position"><a href="#" data-hover="Off">Off</a></li>
                            </ul>
                          </nav>

                      </div><!-- /.home-semicircle-outer -->

                      <div class="home-logo">
                        <h1><a href="http://miukimiu.com">Miuki Miu</a></h1>
                      </div>

                  </div><!-- /-col-xs-12 col-md-12-->

              </div><!-- /-row-->

            </div><!-- /.container -->

            <div class="home-info-outer">

              <div class="container">

                <div class="row">

                  <div class="col-md-12">

                      <div class="home-info">

                        <div class="home-info-block on">

                          <h1>Yeah! Nice to meet you</h1>
                          <h2>I'm just a friendly girl who loves to create beautiful websites!</h2>

                        </div>


                        <div class="home-info-block we">

                          <h1>Webdesign</h1>
                          <h2>I'm just a friendly girl who loves to create beautiful websites!</h2>

                        </div>


                        <div class="home-info-block wd">

                          <h1>Wordpress Development</h1>
                          <h2>I'm just a friendly girl who loves to create beautiful websites!</h2>

                        </div>


                        <div class="home-info-block fe">

                          <h1>Front-end</h1>
                          <h2>Css, html and jQuery! </h2>

                        </div>

                        <div class="home-info-block off">

                          <h1>When I'm offline</h1>
                          <h2>I love to produce electronic music, take photos, travel, go out with my friends and be happy! !</h2>

                        </div>

                      </div>
                       
                  </div><!-- /-col-xs-12 col-md-12-->

                </div><!-- /-row-->
                    
              </div><!-- /.container -->

            </div><!-- home-info-outer -->
        
      </div><!-- /.home-content -->

    </header><!-- /#home **************************************** -->
              
            
!

CSS

              
                @import "compass/css3";

/***************
****************
** Variables *** 
****************
****************/
$white: #fff;
$irty-white: #EEEEEE;
$light-grey: #DADADA;
$medium-grey: #B2B2B2;
$headline-grey: #333;
$grey: #4B4C51;
$dark-grey: #393C43;
$marine: #74D9D0;
$dark-marine:#36C2B5;
$base_font: 'Open Sans', sans-serif;
$title_font: 'Allura', cursive;

/*********
**********
** Fonts
**********
**********/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,300);
@import url(https://fonts.googleapis.com/css?family=Allura|Open+Sans);

.title {
  font-family: 'Fjalla One', sans-serif;
}

/**************
***************
**** #main ****
***************
***************/
body {
  background: #fff;
  color: $medium-grey;
}
#main-content #services,
#main-content #work,
#main-content #blog,
#main-content #about,
#main-content #contacts, {
  padding: 20px 0;
}
.divider {
  display: block;
  width: 35px;
  height: 3px;
  margin: 10px auto 20px;
  background-color: $marine;
}
.headline {
  color: #999;
  font-size: 16px;
  line-height: 25px;
  font-weight: 100;
  text-align: center;
}
/**************
***************
**** #home ****
***************
***************/
#home {
  background: url(http://miukimiu.com/dummy/patterns/diamond_upholstery.png) repeat;
  display: block;
  color: #fff;
}
#home h2 {
  color: $white;
}
#home .home-logo {
  padding: 20px 0;
  z-index: 999;
  width : 177px;
    height : 81px;
    position: absolute;
    top: 135px;
    left: 50%;
    margin-left: -88.5px;
  }
 
#home .home-logo h1 a {
    font-family: $title_font;
    font-size: 50px;
    display : block;
    color: #fff;
    &:hover {
      opacity: 0.8;
      text-decoration:none;
    }
  
}

#home .home-content h1 {
  text-align: center;
  padding-bottom: 10px;
}
#home .home-content h2 {
  font: 20px/1 $base_font;
  text-transform: uppercase;
  border-top: 1px solid #fff;
  text-align: center;
  padding-top: 20px;
  width: 50%;
  left: 25%;
  position: relative;
}

.home-semicircle-outer {
  position: relative;
  background-color: rgba(255, 255, 255, 0.5);
  height: 250px;
  width: 500px;
  display:block;
  @include border-radius ( 500px 500px 0 0);
  z-index: 1;
  margin-top: 20px;
  left: 50%;
  margin-left: -250px;
  /* box-shadow: inset 0 3px 10px rgba(0, 0, 0, .1), 0 2px 20px rgba(255, 255, 255, 0.2);*/
}
.home-semicircle-inner {
  background-color:$marine;
  height: 125px;
  width: 250px;
  display:block;
  -moz-border-radius:125px 125px 0 0;
  -webkit-border-radius: 125px 125px 0 0;
  border-radius: 125px 125px 0 0;
  position: absolute;
  left: 50%;
  margin-left: -125px;
  margin-top: 125px;
  z-index: 3;

}
#home-semicircle-pointer {
  width: 160px;
  border-bottom: 20px solid $marine;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -160px;
  margin-top: 130px;
  z-index: 2;
  @include transform-origin(100%, 50%);
}
/* Home info */
.home-info-outer {
  background: $marine;
  position: relative;
  top: 0px;
  z-index: 5;
  
}
.home-info {
  padding: 20px 0;
  min-height: 180px;
}
.home-info-block {
  display: none;
}
#home nav {

}
#home nav ul {
  list-style: none;
  text-align: center;
  margin: 0;
} 
#home li a:hover,
#home li.active a {
  text-decoration: none;
}

#home nav a {
  font: 400 18px/1 $base_font;
  text-transform: uppercase;
  color: $marine;
}
#home nav ul li {
  display: inline-block;
}
#home .first-position {
  position: relative;
  left: -15px;
  top: 180px;
}
.first-rotation {
  @include transform ( rotate(26deg) );
}
#home .second-position {
  position: relative;
  left: -40px;
  top: 115px;
  
}
.second-rotation {
  @include transform ( rotate(40deg) );
}
#home .third-position {
  position: relative;
  left: -10px;
  top: 60px; 
}
.third-rotation {
  @include transform ( rotate(90deg) );
}
#home .fourth-position {
  position: relative;
  left: 0px;
  top: 115px;
}
.fourth-rotation {
  @include transform ( rotate(128deg) );
}
#home .fifth-position {
  position: relative;
  left: -20px;
  top: 180px;
}
.fifth-rotation {
  @include transform ( rotate(156deg) );
}

.ease-rotation {
 @include transition (all 0.5s ease-out);
}
              
            
!

JS

              
                 jQuery( document ).ready(function( $ ) {

 	 $('.on').show(2000);

  	//when document loads goes from off to on 
  	$("#home-semicircle-pointer").addClass('first-rotation ');
   

  	$( ".first-position" ).click(function(e) {
	  $("#home-semicircle-pointer").removeClass().addClass('first-rotation ease-rotation');
	  $('.home-info-block').hide();
	  $('.on').show(2000);
	});

	$( ".second-position" ).click(function() {
	  $("#home-semicircle-pointer").removeClass().addClass('second-rotation ease-rotation');
	  $('.home-info-block').hide();
	  $('.we').show(2000);
	});

	$( ".third-position" ).click(function() {
	  $("#home-semicircle-pointer").removeClass().addClass('third-rotation ease-rotation');
	  $('.home-info-block').hide();
	  $('.wd').show(2000);
	});

	$( ".fourth-position" ).click(function() {
	  $("#home-semicircle-pointer").removeClass().addClass('fourth-rotation ease-rotation');
	  $('.home-info-block').hide();
	  $('.fe').show(2000);
	});

	$( ".fifth-position" ).click(function() {
	  $("#home-semicircle-pointer").removeClass().addClass('fifth-rotation ease-rotation'); 
	  $('.home-info-block').hide();
	  $('.off').show(2000);
	});

});//Closes Doc Ready   
              
            
!
999px

Console