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="wrap">
	<div class="box">
		<h2>1.回転</h2>
		<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500.4 499.8" id="geer">
			<path class="gray" d="M498.9,226.9h-.3A20.68,20.68,0,0,0,480,208.4H468.6v-.2a31.33,31.33,0,0,1-28-17.4,30.88,30.88,0,0,1-2.7-8.1,193.48,193.48,0,0,0-7.8-18.7h0a30.56,30.56,0,0,1-3.5-7h0a30.33,30.33,0,0,1-1.8-10.4,31.48,31.48,0,0,1,9.1-22.1h0l6.4-6.4c.1-.1.2-.1.3-.2s.2-.2.2-.3A20.79,20.79,0,0,0,442,90l.1-.1c-4.9-5.9-10-11.4-15.3-16.8-5.5-5.5-11.2-10.7-17.2-15.7l-.1.1a20.72,20.72,0,0,0-25.4-.6l-4.6,4.6-4.3,4.2-.2-.2a31.23,31.23,0,0,1-33.7,6.9,25.83,25.83,0,0,1-4.4-2.2,195.1,195.1,0,0,0-22.2-9.1,31,31,0,0,1-4-1.3h0A32.37,32.37,0,0,1,300.4,53a31.4,31.4,0,0,1-8.9-18.2,33.91,33.91,0,0,1,0-7.8V21.7A20.84,20.84,0,0,0,274.4,1.2L270.8.9h0C263.9.3,257,0,250,0s-13.9.3-20.8.9h0l-3.7.3a20.76,20.76,0,0,0-17.1,20.5V31a31.3,31.3,0,0,1-20.3,29.3c-.7.3-1.5.5-2.3.8a205.15,205.15,0,0,0-24.2,10h-.1a11.08,11.08,0,0,1-1.9.9,30.92,30.92,0,0,1-13,2.8,31.48,31.48,0,0,1-22.1-9.1h-.1l-6.6-6.5a20.68,20.68,0,0,0-26.5-2.4c-.9.8-1.9,1.5-2.8,2.3,0,.1-.1.1-.1.2q-8,6.75-15.3,14.1T59,88.7h0c-.8.9-1.6,1.9-2.4,2.8A20.7,20.7,0,0,0,59,118.1l6.6,6.6a31.42,31.42,0,0,1,6.4,35,21.16,21.16,0,0,1-1.1,2.1,196.93,196.93,0,0,0-10,24.1,26.72,26.72,0,0,1-.9,2.6h0a30.28,30.28,0,0,1-7.1,10.8,31.1,31.1,0,0,1-22.1,9.1v.1H21.5A20.84,20.84,0,0,0,1,225.6c-.1,1.2-.2,2.4-.3,3.7C.3,235.9,0,243.1,0,250v.4c0,6.9.3,13.7.8,20.4h0l.3,3.6a20.73,20.73,0,0,0,20.4,17.1H31a31.15,31.15,0,0,1,29.1,20h0c.3.8.6,1.6.8,2.3a.31.31,0,0,0,.1.2,205.16,205.16,0,0,0,10,24.2l.1.1c.3.6.6,1.2.9,1.9a31.45,31.45,0,0,1-6.3,35.1h0l-6.3,6.4c-.1.1-.2.2-.3.2s-.2.2-.2.3a20.88,20.88,0,0,0-2.3,26.1c.9,1.1,1.8,2.2,2.7,3.2,4.4,5.2,9.1,10.3,14,15.1s9.9,9.6,15.2,14c1.1.9,2.1,1.8,3.2,2.7a20.75,20.75,0,0,0,23.9-.5l4.6-4.6,4.3-4.3.2.2a31.39,31.39,0,0,1,35-6.3c.6.3,1.2.5,1.7.8a.31.31,0,0,1,.2.1A186.82,186.82,0,0,0,186,438.8c.7.2,1.4.5,2.1.7a31.16,31.16,0,0,1,20.3,29.3h.1v9.1a20.9,20.9,0,0,0,18.7,20.7v.1c7.6.7,15.2,1.1,22.9,1.1a218.7,218.7,0,0,0,23-1.1v-.1a20.83,20.83,0,0,0,18.7-20.7v-9.3a31.34,31.34,0,0,1,18-28.3,32,32,0,0,1,6.8-2.3,205.39,205.39,0,0,0,20-8.3,28.05,28.05,0,0,1,6-3,30.55,30.55,0,0,1,10.9-2,31.32,31.32,0,0,1,20.7,7.9,23,23,0,0,1,2.7,2.7l5.3,5.3h0a21,21,0,0,0,26.9,2.2.1.1,0,0,0,.1-.1c.7-.5,1.3-1.1,2-1.6,5.5-4.6,10.7-9.4,15.8-14.5s9.9-10.3,14.5-15.8c.6-.7,1.2-1.4,1.8-2.2a20.81,20.81,0,0,0-1.4-26.1h0l-1.5-1.5-5.8-5.8h0a31.2,31.2,0,0,1-6.6-34.4,30.13,30.13,0,0,1,1.6-3.1,190,190,0,0,0,9.6-23.3,16.29,16.29,0,0,1,1.1-3.1,32,32,0,0,1,7-10.7,30.94,30.94,0,0,1,22.1-9.1h9v-.1a20.84,20.84,0,0,0,20.8-19.7h.3c.6-7.2.9-14.5.9-21.8C500,242.2,499.6,234.5,498.9,226.9Zm-128,64.7a122.8,122.8,0,0,1-6,14.5,129.05,129.05,0,0,1-24.5,34.4,127.32,127.32,0,0,1-34.3,24.6,124.83,124.83,0,0,1-14.6,6.1,127,127,0,0,1-41.6,7h-.4a127.59,127.59,0,0,1-41.2-6.8,125.76,125.76,0,0,1-15.1-6.2,129.44,129.44,0,0,1-58.7-58.6,110,110,0,0,1-6.2-15,128.85,128.85,0,0,1,0-83.2,110,110,0,0,1,6.2-15,126.83,126.83,0,0,1,24.6-34.2,127.78,127.78,0,0,1,90.4-37.4h.4a127,127,0,0,1,41.6,7,124.82,124.82,0,0,1,14.6,6.1,129,129,0,0,1,58.7,58.7,119.47,119.47,0,0,1,6.1,14.7,126.78,126.78,0,0,1,6.9,41.5v.1h0A128,128,0,0,1,370.9,291.6Z"/>
		</svg>
	</div>

	<div class="box">
		<h2>2.位置を変える</h2>
		<svg xmlns="http://www.w3.org/2000/svg" 
	 viewBox="0 0 500 500" id="move">
		<path class="gray" d="M0,250c0,139.1,113,250,250,250,139.1,0,250-113,250-250C500,110.93,386.9,0,250,0,113.1-2.07,0,110.93,0,250Zm269.6-115.2L391.3,237a16.31,16.31,0,0,1,0,26.1L269.6,365.33c-8.7,6.5-21.7,0-21.7-8.7v-41.3c0-8.7-8.7-17.4-17.4-17.4H137c-10.9,0-17.4-8.7-17.4-17.4v-60.9c0-10.9,8.7-17.4,17.4-17.4h93.5c8.7,0,17.4-8.7,17.4-17.4v-39.1C247.8,134.83,260.9,128.33,269.6,134.83Z"/>
		</svg>
	</div>

	<div class="box">
		<h2>3.ぷかぷか</h2>
		<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 359.4" id="cloud">
			<path class="gray" d="M404.9,127.2C398.1,55.9,338.7,0,265.6,0c-56.5,0-105,33.6-127.3,81.7a69.34,69.34,0,0,0-91.4,66.7,69,69,0,0,0,3.8,21.9C20.5,188,0,220.3,0,257.8A101.62,101.62,0,0,0,101.6,359.4H382.8a117.15,117.15,0,0,0,22.1-232.2ZM382.8,328.1H101.6a70.4,70.4,0,0,1-70.3-70.3c0-25,13.2-47.6,35.2-60.4,21.4-12.3,22.9-14.7,13.9-36.8a38.13,38.13,0,0,1,36.8-51.2,53.67,53.67,0,0,1,21.1,3.6c17.9,7.1,19.9.3,28.3-18.1,17.9-38.6,56.8-63.6,98.9-63.6,56.3,0,102.8,42.5,108.2,99,1.9,22.4,1.9,22.4,25.2,27.7a85.81,85.81,0,0,1-16.1,170.1Z"/>
		</svg>
	</div>

	<div class="box">
		<h2>4.ゆらゆら</h2>
		<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 365.1 500" id="tree">
			<g>
				<path class="dark-brown" d="M245.7,365.9a203,203,0,0,0-63.2-10V500h63.2Z"/>
				<path class="light-brown" d="M119.3,365.9V500h63.2V355.9A203,203,0,0,0,119.3,365.9Z"/>
			</g>
			<g>
				<path class="light-green" d="M0,383.3A1120.58,1120.58,0,0,0,182.5,398V0Z"/>
				<path class="dark-green" d="M182.5,398a1122.74,1122.74,0,0,0,182.6-14.7L182.5,0Z"/>
			</g>
		</svg>
	</div>

	<div class="box">
		<h2>4.ぐんぐん</h2>
		<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 346.11" id="graph">
			<rect class="gray grow" x="410.23" y="115.42" width="89.77" height="230.69"/>
			<rect class="gray grow" y="102.6" width="89.77" height="243.51"/>
			<rect class="gray grow" x="102.44" y="19.24" width="89.77" height="326.87"/>
			<rect class="gray grow" x="205.04" y="76.95" width="89.77" height="269.16"/>
			<rect class="gray grow" x="307.63" width="89.77" height="346.11"/>
		</svg>
	</div>
	
</div>
	
            
          
!
            
              .wrap{
	display: flex;
	flex-flow: row wrap;
}
.box{ 
	width: 300px;
	display: flex;
	flex-flow: column wrap;
}
svg{ 
	width: 150px;
	margin-top: auto;
}
.gray { fill: #414042; }
.light-brown { fill: #8b544c; }
.dark-brown { fill: #7a4b47; }
.light-green { fill: #b9d24e; }
.dark-green { fill: #96b54a; }

.photo{ width: 400px; }
.blur:hover { filter: url("#blur"); }

/* --- geer --- */
#geer{
  animation: rotate 8s linear infinite;
}
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- move --- */
#move{
  position: relative;
  animation: move 4s ease;
}
@keyframes move {
    0% { left: 0; }
    100% { left: 150px; } 
}

/* --- cloud --- */
#cloud{
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* --- tree --- */
#tree{
  animation: rotate2 2s ease-in-out infinite;
  transform-origin: 50% bottom;
}
@keyframes rotate2 {
    0% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
    100% { transform: rotate(-10deg); }

}

#graph{
  position: relative;
  width: 200px;
}
.grow{
  animation: grow 1s ease-in-out;
  transform-origin: bottom;
}

@keyframes grow {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
}





            
          
!
999px
Loading ..................

Console