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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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

              
                <body>

  <div class="background-linear"></div>

  <div class="wrapper">
    <div class="summer-wrapper">
      <div class="summer-wrap">
      
			<div class="bird-wrapper">
				<div class="left-wing">
					<span></span>
				</div>
				<div class="right-wing">
					<span></span>
				</div>
			</div>
			<div class="bird-wrapper snd">
				<div class="left-wing">
					<span></span>
				</div>
				<div class="right-wing">
					<span></span>
				</div>
			</div>
			<div class="bird-wrapper trd">
				<div class="left-wing">
					<span></span>
				</div>
				<div class="right-wing">
					<span></span>
				</div>
			</div>
      
        <div class="sun"></div>
        <div class="bottom-snow">
          <span></span>
        </div>
        <div class="middle-snow"></div>
        <div class="buildings">
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
        </div>
        <div class="buildings back">
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
        </div>
        <div class="swing"></div>
        <div class="swing-over-wrap">
          <div class="swing-over">
            <span></span>
            <span></span>
            <span></span>
          </div>
        </div>
        <div class="swing-left"></div>
        <div class="swing-left-back">
          <span></span>
          <span></span>
          <span></span>
          <span></span>
        </div>
        <div class="bottom-snow-over">
          <span></span>
        </div>
        <div class="box">
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <div class="bucket">
            <span></span>
            <span></span>
          </div>
          <div class="shovel">
            <span></span>
            <span></span>
            <span></span>
          </div>
        </div>
        <div class="lamp">
          <div class="lamp-wrap">
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
          </div>
        </div>
        <div class="bench">
          <div class="bench-wrap">
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
          </div>
        </div>
        <div class="bin">
          <span></span>
          <span></span>
        </div>
        <div class="tree">
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
        </div>
        <div class="tree right">
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          <span></span>
        </div>
      </div>
    </div>
  </div>
	<a href="https://front.codes/" class="logo hover-target" target="_blank">
		<img src="https://assets.codepen.io/1462889/fcb.png" alt="">
	</a>	

  <body>
              
            
!

CSS

              
                

/* Please ❤ this if you like it! */


body{
	width: 100%;
	display: block;
	background: linear-gradient(#48dbfb, #2980b9);
  box-sizing: border-box;
  overflow-x: hidden;
}
.background-linear{
	position: fixed;
	width: 100%;
	height: 100%;
	display: block;
	background: linear-gradient(#48dbfb, #2980b9);
	z-index: 1;
}
.wrapper{
	position: relative;
	width: 100%;
	z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100vh;  
}
.summer-wrapper{
	position: relative;
	width: 600px;
	height: 450px;
	display: block;
	margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 30px;
	z-index: 2;
	overflow: hidden;
}
.summer-wrap{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
    width: 100%;
	height: 100%;
	overflow: hidden;
}

.sun{
	position: absolute;
	top: 40px;
	left: 70px;
	width: 37px;
	display: block;
	height: 37px;
	background-color: #e67e22;
	border-radius: 50%;
	box-shadow: 
        0 0 0 8px #f39c12,
        0 0 0 20px #f1c40f;
	z-index: 1;
	animation: brilla-sun 3s alternate infinite;
}
@keyframes brilla-sun{
	0%, 100%{
	box-shadow: 
        0 0 0 8px #f39c12,
        0 0 0 20px #f1c40f;
	}
	50%{
	box-shadow:
        0 0 0 5px #f39c12,
        0 0 0 14px #f1c40f;
	}
}
.bottom-snow{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	display: block;
	height: 21px;
	background-color: #1dcd59;
	z-index: 1; 
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	overflow: hidden;
}
.bottom-snow span{
	position: absolute;
	right: 0;
	top: 0;
	width: 50%;
	height: 7px;
	display: block;
	background-color: #1ab74f;
	border-radius: 4px;
}
.bottom-snow-over{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	display: block;
	height: 21px;
	z-index: 60; 
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	overflow: hidden;
}
.bottom-snow-over span{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 65%;
	display: block;
	height: 7px;
	background-color: #1ab74f;
	z-index: 1; 
	border-radius: 4px;
}
.middle-snow{
	position: absolute;
	bottom: 21px;
	left: 15px;
	width: calc(100% - 30px);
	display: block;
	height: 30px;
	background-color: #17a145;
	z-index: 1; 
	overflow: hidden;
}
.buildings {
	position: absolute;
	bottom: 51px;
	left: 15px;
	width: calc(100% - 30px);
	height: 399px;
	display: block;
	z-index: 2; 
	overflow: hidden;
}
.buildings span{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 180px;
	background-color: #109bbe;
}
.buildings span:nth-child(2){
	left: 40px;
	width: 55px;
	height: 240px;
}
.buildings span:nth-child(3){
	left: 95px;
	width: 65px;
	height: 140px;
}
.buildings span:nth-child(4){
	left: 160px;
	width: 50px;
	height: 120px;
}
.buildings span:nth-child(5){
	left: 210px;
	width: 10px;
	height: 80px;
}
.buildings span:nth-child(6){
	left: 220px;
	width: 60px;
	height: 140px;
}
.buildings span:nth-child(7){
	left: 280px;
	width: 50px;
	height: 270px;
}
.buildings span:nth-child(8){
	left: 330px;
	width: 30px;
	height: 170px;
}
.buildings span:nth-child(9){
	left: 360px;
	width: 20px;
	height: 120px;
}
.buildings span:nth-child(10){
	left: 380px;
	width: 60px;
	height: 230px;
}
.buildings span:nth-child(11){
	left: 440px;
	width: 40px;
	height: 170px;
}
.buildings span:nth-child(12){
	left: 480px;
	width: 50px;
	height: 190px;
}
.buildings span:nth-child(13){
	left: 530px;
	width: 40px;
	height: 150px;
}
.buildings.back {
	z-index: 1; 
}
.buildings.back span{
	width: 20px;
	height: 140px;
	background-color: #12aed6;
}
.buildings.back span:nth-child(2){
	left: 20px;
	width: 60px;
	height: 200px;
}
.buildings.back span:nth-child(3){
	left: 80px;
	width: 40px;
	height: 220px;
}
.buildings.back span:nth-child(4){
	left: 120px;
	width: 20px;
	height: 170px;
}
.buildings.back span:nth-child(5){
	left: 140px;
	width: 60px;
	height: 250px;
}
.buildings.back span:nth-child(6){
	left: 200px;
	width: 60px;
	height: 290px;
}
.buildings.back span:nth-child(7){
	left: 260px;
	width: 40px;
	height: 210px;
}
.buildings.back span:nth-child(8){
	left: 300px;
	width: 65px;
	height: 310px;
}
.buildings.back span:nth-child(9){
	left: 365px;
	width: 45px;
	height: 200px;
}
.buildings.back span:nth-child(10){
	left: 410px;
	width: 60px;
	height: 260px;
}
.buildings.back span:nth-child(11){
	left: 470px;
	width: 50px;
	height: 240px;
}
.buildings.back span:nth-child(12){
	left: 520px;
	width: 50px;
	height: 220px;
}
.swing{
	position: absolute;
	bottom: 2px;
	left: 240px;
	width: 40px;
	height: 90px;
	border: 5px solid #366a78;
	border-color: #366a78 #366a78 transparent #366a78;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	display: block;
	z-index: 5; 
	overflow: hidden;
}
.swing-over-wrap{
	position: absolute;
	bottom: 2px;
	left: 265px;
	z-index: 6; 
	perspective: 400px;
}
.swing-over{
	position: absolute;
	bottom: 0;
	left: 0;
	margin-left: -25px;
	width: 50px;
	height: 95px;
	display: block;
	transform-origin: center top;
	animation: swinging 3s ease infinite;
}
@keyframes swinging{
	0%, 100%{
		transform: rotateX(25deg);
	}
	50%{
		transform: rotateX(-25deg);
	}
}
.swing-over span{
	position: absolute;
	bottom: 22px;
	left: 10px;
	width: 30px;
	height: 6px;
	border-radius: 3px;
	background-color: #f08139;
	display: block;
	z-index: 5; 
	overflow: hidden;
}
.swing-over span:nth-child(2){
	bottom: auto;
	top: 0;
	left: 13px;
	width: 2px;
	height: 74px;
	border-radius: 0;
	background-color: #4f4c4d;
	z-index: 4;
}
.swing-over span:nth-child(3){
	bottom: auto;
	top: 0;
	left: auto;
	right: 13px;
	width: 2px;
	height: 74px;
	border-radius: 0;
	background-color: #4f4c4d;
	z-index: 4;
}
.swing-left{
	position: absolute;
	bottom: 2px;
	left: 195px;
	width: 40px;
	height: 70px;
	border: 5px solid #366a78;
	border-color: #366a78 transparent transparent #366a78;
	border-top-left-radius: 10px;
	display: block;
	z-index: 4; 
}
.swing-left-back{
	position: absolute;
	bottom: 2px;
	left: 195px;
	width: 50px;
	height: 80px;
	display: block;
	z-index: 3; 
}
.swing-left-back span{
	position: absolute;
	top: 14px;
	left: -2px;
	width: 54px;
	height: 4px;
	border-radius: 2px;
	display: block;
	background-color: #986233;
}
.swing-left-back span:nth-child(2){
	top: 30px;
}
.swing-left-back span:nth-child(3){
	top: 46px;
}
.swing-left-back span:nth-child(4){
	top: 62px;
}
.box{
	position: absolute;
	bottom: 7px;
	left: 100px;
	display: block;
	z-index: 30;
}
.box span{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100px;
	height: 12px;
	background-color: #986233;
	display: block;
	z-index: 5;
}
.box span:nth-child(2){
	bottom: 12px;
	height: 4px;
	background-color: #5e3e25;
}
.box span:nth-child(3){
	bottom: 16px;
	height: 8px;
	left: -6px;
	width: 112px;
	border-radius: 2px;
	background-color: #f08139;
}
.box span:nth-child(4){
	bottom: -16px;
	left: 0;
	height: 50px;
	width: 50px;
	border-radius: 50%;
	background-color: #8a928d;
	z-index: 4;
}
.box span:nth-child(5){
	bottom: 12px;
	left: 10px;
	height: 20px;
	width: 90px;
	border-top-right-radius: 150%;
	border-top-left-radius: 150%;
	background-color: #8a928d;
	z-index: 4;
}
.box span:nth-child(6){
	bottom: 7px;
	left: 25px;
	height: 30px;
	width: 60px;
	border-top-right-radius: 150%;
	border-top-left-radius: 150%;
	background-color: #7d8680;
	z-index: 3;
}
.bucket{
	position: absolute;
	bottom: 30px;
	left: 42px;
	display: block;
	z-index: 5;
	perspective: 100px;
}
.bucket span{
	position: absolute;
	bottom: 0;
	left: 50%;
	margin-left: -8px;
	height: 25px;
	width: 16px;
	display: block;
	background-color: #b94b00;
	z-index: 1;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	transform-origin: center bottom;
	transform: rotateX(-55deg);
}
.bucket span:nth-child(2){
	bottom: 15px;
	left: 50%;
	margin-left: -12px;
	height: 5px;
	width: 24px;
	background-color: #ef8136;
	z-index: 2;
	border-radius: 2px;
	transform-origin: center bottom;
	transform: rotateX(0);
}
.shovel{
	position: absolute;
	bottom: 22px;
	left: 13px;
	display: block;
	z-index: 2;
	transform-origin: center bottom;
	transform: rotateZ(-20deg);
}
.shovel span{
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	z-index: 1;
	height: 18px;
	width: 14px;
	border-bottom-left-radius: 70%;
	border-bottom-right-radius: 70%;
	background-color: #366a78;
}
.shovel span:nth-child(2){
	bottom: 13px;
	left: 5px;
	display: block;
	z-index: 2;
	height: 33px;
	width: 4px;
	border-radius: 2px;
	background-color: #282a28;
}
.shovel span:nth-child(3){
	bottom: 42px;
	left: 2px;
	z-index: 2;
	height: 4px;
	width: 10px;
	border-radius: 2px;
	background-color: #282a28;
}
.lamp{
	position: absolute;
	bottom: 21px;
	left: 340px;
	display: block;
	z-index: 2;
	transform-origin: center bottom;
	perspective: 40px;
}
.lamp-wrap{
	position: absolute;
	bottom: 0;
	left: -9px;
	display: block;
	z-index: 2;
}
.lamp-wrap span{
	position: absolute;
	bottom: 0;
	left: 0;
	height: 6px;
	width: 18px;
	display: block;
	z-index: 2;
	background-color: #666;
}
.lamp-wrap span:nth-child(2){
	bottom: 6px;
	left: 2px;
	height: 55px;
	width: 14px;
	background-color: #333;
	transform-origin: center bottom;
	transform: rotateX(20deg);
}
.lamp-wrap span:nth-child(3){
	bottom: 38px;
	left: 4px;
	height: 8px;
	width: 10px;
	background-color: #666;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}
.lamp-wrap span:nth-child(4){
	bottom: 46px;
	left: 6px;
	height: 40px;
	width: 6px;
	background-color: #333;
}
.lamp-wrap span:nth-child(5){
	bottom: 86px;
	left: 3px;
	height: 6px;
	width: 12px;
	border-radius: 4px;
	background-color: #666;
}
.lamp-wrap span:nth-child(6){
	bottom: 92px;
	left: 7px;
	height: 18px;
	width: 4px;
	background-color: #333;
}
.lamp-wrap span:nth-child(7){
	bottom: 110px;
	left: 4px;
	height: 4px;
	width: 10px;
	background-color: #333;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}
.lamp-wrap span:nth-child(8){
	bottom: 114px;
	left: 4px;
	height: 6px;
	width: 10px;
	box-shadow: 
		inset 4px 0 0 0px rgba(255,253,241,.4);	
	background-color: #fceea5;
	transform-origin: center bottom;
	transform: rotateX(-50deg);
	z-index: 1;
}
.lamp-wrap span:nth-child(9){
	bottom: 133px;
	left: 1px;
	height: 5px;
	width: 16px;
	border-radius: 2px;
	background-color: #333;
	z-index: 3;
}
.lamp-wrap span:nth-child(10){
	bottom: 132px;
	left: 3px;
	height: 12px;
	width: 12px;
	border-top-left-radius: 100%;
	border-top-right-radius: 100%;
	background-color: #333;
	z-index: 3;
}
.lamp-wrap span:nth-child(11){
	bottom: 140px;
	left: 7px;
	height: 8px;
	width: 4px;
	border-radius: 2px;
	background-color: #333;
	z-index: 3;
}
.bench{
	position: absolute;
	bottom: 21px;
	left: 370px;
	display: block;
	z-index: 2;
	transform-origin: center bottom;
	perspective: 40px;
}
.bench-wrap{
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	z-index: 2;
}
.bench-wrap span{
	position: absolute;
	bottom: 0;
	left: 5px;
	display: block;
	z-index: 5;
	width: 7px;
	height: 40px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	background-color: #be7435;
}
.bench-wrap span:nth-child(2){
	left: 85px;
}
.bench-wrap span:nth-child(3){
	left: 0;
	bottom: 33px;
	border-radius: 4px;
	width: 12px;
	height: 7px;
}
.bench-wrap span:nth-child(4){
	left: 85px;
	bottom: 33px;
	border-radius: 4px;
	width: 12px;
	height: 7px;
}
.bench-wrap span:nth-child(5){
	left: 5px;
	bottom: 10px;
	border-radius: 0;
	width: 85px;
	height: 6px;
	background-color: #8c592c;
	z-index: 4;
}
.bench-wrap span:nth-child(6){
	left: 5px;
	bottom: 22px;
	border-radius: 0;
	width: 85px;
	height: 6px;
	background-color: #5e3e25;
	z-index: 4;
}
.bench-wrap span:nth-child(7){
	bottom: 35px;
	width: 7px;
	height: 20px;
	background-color: #8c592c;
	z-index: 4;
}
.bench-wrap span:nth-child(8){
	left: 85px;
	bottom: 35px;
	width: 7px;
	height: 20px;
	background-color: #8c592c;
	z-index: 4;
}
.bench-wrap span:nth-child(9){
	left: 5px;
	bottom: 47px;
	border-radius: 0;
	width: 85px;
	height: 6px;
	background-color: #5e3e25;
	z-index: 3;
}
.bench-wrap span:nth-child(10){
	left: 50px;
	bottom: 25px;
	width: 9px;
	height: 26px;
	background-color: #be7435;
	border-radius: 0;
	z-index: 1;
}
.bench-wrap span:nth-child(11){
	left: 62px;
	bottom: 25px;
	width: 9px;
	height: 26px;
	background-color: #be7435;
	border-radius: 0;
	z-index: 1;
}
.bench-wrap span:nth-child(12){
	left: 74px;
	bottom: 25px;
	width: 9px;
	height: 26px;
	background-color: #be7435;
	border-radius: 0;
	z-index: 1;
}
.bench-wrap span:nth-child(13){
	left: 38px;
	bottom: 25px;
	width: 9px;
	height: 26px;
	background-color: #be7435;
	border-radius: 0;
	z-index: 1;
}
.bench-wrap span:nth-child(14){
	left: 26px;
	bottom: 25px;
	width: 9px;
	height: 26px;
	background-color: #be7435;
	border-radius: 0;
	z-index: 1;
}
.bench-wrap span:nth-child(15){
	left: 14px;
	bottom: 25px;
	width: 9px;
	height: 26px;
	background-color: #be7435;
	border-radius: 0;
	z-index: 1;
}
.bin{
	position: absolute;
	bottom: 21px;
	right: 30px;
	width: 25px;
	height: 40px;
	display: block;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	background-color: #ce6f13;
	z-index: 2;
}
.bin span{
	position: absolute;
	top: 4px;
	right: 3px;
	width: 19px;
	height: 10px;
	display: block;
	border-radius: 4px;
	background-color: #333;
	z-index: 2;
}
.bin span:nth-child(2){
	top: 7px;
	background-color: #ff8f45;
	z-index: 1;
}

.tree{
	position: absolute;
	bottom: 7px;
	left: 40px;
	display: block;
	z-index: 50;
	perspective: 100px;
}
.tree.right{
	bottom: 21px;
	left: auto;
	right: 120px;
	transform: scale(0.9);
}
.tree span{
	position: absolute;
	bottom: 72px;
	left: -4px;
	display: block;
	z-index: 3;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background-color: #32ff7e;
	box-shadow: inset -10px 0 14px 0 #1dcd59;
	transform: rotate(20deg);
}
.tree span:nth-child(2){
	bottom: 72px;
	left: -24px;
	z-index: 2;
	width: 70px;
	height: 70px;
	box-shadow: inset 5px 0 7px 0 #1dcd59;
	transform: rotate(-20deg);
}
.tree span:nth-child(3){
	bottom: 97px;
	left: -9px;
	z-index: 2;
	width: 90px;
	height: 90px;
	box-shadow: inset 5px 0 7px 0 #1dcd59;
	transform: rotate(40deg);
}
.tree span:nth-child(4){
	bottom: 0;
	left: 31px;
	z-index: 1;
	width: 18px;
	height: 100px;
	border-radius: 0;
	background-color: #625044;
	box-shadow: inset 6px 0 13px 0 #b58d74;
	transform: rotate(0);
	transform-origin: center bottom;
	transform: rotateX(10deg);
}
.tree span:nth-child(5){
	bottom: 40px;
	left: 36px;
	z-index: 0;
	width: 6px;
	height: 40px;
	border-radius: 0;
	background-color: #625044;
	box-shadow: none;
	transform: rotate(0);
	transform-origin: center bottom;
	transform: rotate(20deg);
}
.tree span:nth-child(6){
	bottom: 50px;
	left: 29px;
	z-index: 1;
	width: 6px;
	height: 40px;
	border-radius: 0;
	background-color: #625044;
	box-shadow: none;
	box-shadow: inset -3px -4px 22px -4px #b18b73,
	           0 5px 7px -7px #b18b73;
	transform: rotate(0);
	transform-origin: center bottom;
	transform: rotate(-25deg);
}

.bird-wrapper {
	position: absolute;
	left: 166px;
	bottom: 226px;
	display: block;
	z-index: 8;
	animation: birdFly 3.5s ease infinite;
	animation-delay: 0.4s;
}
.bird-wrapper.snd {
	left: 340px;
	bottom: 215px;
	animation-delay: 0s;
}
.bird-wrapper.trd {
	left: 450px;
	bottom: 282px;
	animation-delay: 1s;
}
@keyframes birdFly {
  0%{ 
		transform: translateY(0);  
  }
  50% { 
		transform: translateY(-40px); 
  }
  100% { 
		transform: translateY(0); 
  }
}
.left-wing {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 14px;
	height: 14px;
	transform-origin: right bottom;
	animation: wingLeft 0.4s ease infinite;
}
.left-wing span {
	position: absolute;
	right: 0;
	bottom: 0;
	border: 2px solid #030308;
	border-radius: 50%;
	width: 14px;
	height: 14px;
	border-color: #030308 transparent transparent transparent;
	transform: translate(1px, 15px);
}
@keyframes wingLeft {
  0%{ 
		transform: rotate(0);  
  }
  50% { 
		transform: rotate(40deg); 
  }
  100% { 
		transform: rotate(0); 
  }
}
.right-wing {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 14px;
	height: 14px;
	transform-origin: left bottom;
	animation: wingRight 0.4s ease infinite;
}
.right-wing span {
	position: absolute;
	right: 0;
	bottom: 0;
	border: 2px solid #030308;
	border-radius: 50%;
	width: 14px;
	height: 14px;
	border-color: #030308 transparent transparent transparent;
	transform: translate(-2px, 14px);
}
@keyframes wingRight {
  0%{ 
		transform: rotate(0);  
  }
  50% { 
		transform: rotate(-40deg); 
  }
  100% { 
		transform: rotate(0); 
  }
}
.logo {
	position: absolute;
	top: 30px;
	right: 30px;
	display: block;
	z-index: 100;
	transition: all 250ms linear;
}
.logo img {
	height: 26px;
	width: auto;
	display: block;
}
              
            
!

JS

              
                /* ======================================= * 
		          Winter version:
   https://codepen.io/ig_design/pen/GPmVBG
 * ======================================= */
              
            
!
999px

Console