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

              
                <?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<div id="svgcontainer">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 width="2048px" height="2048px" viewBox="0 0 2048 2048" enable-background="new 0 0 2048 2048" xml:space="preserve">
<rect opacity="0" fill="#FFFFFF" width="2048" height="2048"/>
<g>
<!--	<polygon fill="#FFFFFF" points="448,772 448,1420 736,1564 1024,1420 1312,1564 1600,1420 1600,772 1024,484 	"/>-->
	<g opacity="0.75">
		<polygon fill="#6ED685" points="448,772 1024,484 1600,772 1024,1060 448,772 448,1420 736,1564 1024,1060 1600,772 1600,1420 
			1312,1564 1024,1060 		"/>
	</g>
	<polygon opacity="0.5" fill="#6ED685" points="1024,484 448,772 1024,1060 1600,772 	"/>
	<polygon opacity="0.6" fill="#62BD71" points="448,772 448,1420 736,1564 1024,1060 	"/>
	<polygon fill="#EA5866" points="1312,1564 1312,916 1024,772 1024,1420 	"/>
	<polygon fill="#F16576" points="736,1564 736,916 1024,772 1024,1420 	"/>
	<g>
		<path fill="#414042" d="M906.402,985.293c-2.098-3.586-9.551-3.152-16.699,1.043c-7.102,4.102-11.227,10.336-9.176,13.898
			c2.074,3.586,9.492,3.141,16.652-1.031C904.363,995.078,908.453,988.867,906.402,985.293z"/>
		<path fill="#414042" d="M834.402,1042.633c-2.098-3.586-9.551-3.141-16.699,1.031c-7.102,4.125-11.227,10.336-9.176,13.91
			c2.074,3.586,9.492,3.152,16.652-1.043C832.363,1052.43,836.453,1046.195,834.402,1042.633z"/>
		<path fill="#414042" d="M906.402,1062.426c-2.098-3.586-9.551-3.152-16.699,1.043c-7.102,4.102-11.227,10.336-9.176,13.898
			c2.074,3.586,9.492,3.141,16.652-1.031C904.363,1072.211,908.453,1066,906.402,1062.426z"/>
		<path fill="#414042" d="M834.402,1114.633c-2.098-3.586-9.551-3.141-16.699,1.031c-7.102,4.125-11.227,10.336-9.176,13.91
			c2.074,3.586,9.492,3.152,16.652-1.043C832.363,1124.43,836.453,1118.195,834.402,1114.633z"/>
		<path fill="#414042" d="M906.402,1134.426c-2.098-3.586-9.551-3.152-16.699,1.043c-7.102,4.102-11.227,10.336-9.176,13.898
			c2.074,3.586,9.492,3.141,16.652-1.031C904.363,1144.211,908.453,1138,906.402,1134.426z"/>
		<path fill="#414042" d="M834.402,970.633c-2.098-3.586-9.551-3.141-16.699,1.031c-7.102,4.125-11.227,10.336-9.176,13.91
			c2.074,3.586,9.492,3.152,16.652-1.043C832.363,980.43,836.453,974.195,834.402,970.633z"/>
		<path fill="#414042" d="M906.402,918.426c-2.098-3.586-9.551-3.152-16.699,1.043c-7.102,4.102-11.227,10.336-9.176,13.898
			c2.074,3.586,9.492,3.141,16.652-1.031C904.363,928.211,908.453,922,906.402,918.426z"/>
		<path fill="#414042" d="M834.402,1186.633c-2.098-3.586-9.551-3.141-16.699,1.031c-7.102,4.125-11.227,10.336-9.176,13.91
			c2.074,3.586,9.492,3.152,16.652-1.043C832.363,1196.43,836.453,1190.195,834.402,1186.633z"/>
		<path fill="#414042" d="M906.402,1206.426c-2.098-3.586-9.551-3.152-16.699,1.043c-7.102,4.102-11.227,10.336-9.176,13.898
			c2.074,3.586,9.492,3.141,16.652-1.031C904.363,1216.211,908.453,1210,906.402,1206.426z"/>
		<path fill="#414042" d="M834.402,1258.633c-2.098-3.586-9.551-3.141-16.699,1.031c-7.102,4.125-11.227,10.336-9.176,13.91
			c2.074,3.586,9.492,3.152,16.652-1.043C832.363,1268.43,836.453,1262.195,834.402,1258.633z"/>
		<path fill="#414042" d="M906.402,1278.426c-2.098-3.586-9.551-3.152-16.699,1.043c-7.102,4.102-11.227,10.336-9.176,13.898
			c2.074,3.586,9.492,3.141,16.652-1.031C904.363,1288.211,908.453,1282,906.402,1278.426z"/>
		<path fill="#414042" d="M834.402,1330.633c-2.098-3.586-9.551-3.141-16.699,1.031c-7.102,4.125-11.227,10.336-9.176,13.91
			c2.074,3.586,9.492,3.152,16.652-1.043C832.363,1340.43,836.453,1334.195,834.402,1330.633z"/>
		<path fill="#414042" d="M906.402,1350.426c-2.098-3.586-9.551-3.152-16.699,1.043c-7.102,4.102-11.227,10.336-9.176,13.898
			c2.074,3.586,9.492,3.141,16.652-1.031C904.363,1360.211,908.453,1354,906.402,1350.426z"/>
		<path fill="#414042" d="M834.402,1402.633c-2.098-3.586-9.551-3.141-16.699,1.031c-7.102,4.125-11.227,10.336-9.176,13.91
			c2.074,3.586,9.492,3.152,16.652-1.043C832.363,1412.43,836.453,1406.195,834.402,1402.633z"/>
	</g>
	<g>
		<path fill="#414042" d="M1141.598,985.293c2.098-3.586,9.551-3.152,16.699,1.043c7.102,4.102,11.227,10.336,9.176,13.898
			c-2.074,3.586-9.492,3.141-16.652-1.031C1143.637,995.078,1139.547,988.867,1141.598,985.293z"/>
		<path fill="#414042" d="M1213.598,1042.633c2.098-3.586,9.551-3.141,16.699,1.031c7.102,4.125,11.227,10.336,9.176,13.91
			c-2.074,3.586-9.492,3.152-16.652-1.043C1215.637,1052.43,1211.547,1046.195,1213.598,1042.633z"/>
		<path fill="#414042" d="M1141.598,1062.426c2.098-3.586,9.551-3.152,16.699,1.043c7.102,4.102,11.227,10.336,9.176,13.898
			c-2.074,3.586-9.492,3.141-16.652-1.031C1143.637,1072.211,1139.547,1066,1141.598,1062.426z"/>
		<path fill="#414042" d="M1213.598,1114.633c2.098-3.586,9.551-3.141,16.699,1.031c7.102,4.125,11.227,10.336,9.176,13.91
			c-2.074,3.586-9.492,3.152-16.652-1.043C1215.637,1124.43,1211.547,1118.195,1213.598,1114.633z"/>
		<path fill="#414042" d="M1141.598,1134.426c2.098-3.586,9.551-3.152,16.699,1.043c7.102,4.102,11.227,10.336,9.176,13.898
			c-2.074,3.586-9.492,3.141-16.652-1.031C1143.637,1144.211,1139.547,1138,1141.598,1134.426z"/>
		<path fill="#414042" d="M1213.598,970.633c2.098-3.586,9.551-3.141,16.699,1.031c7.102,4.125,11.227,10.336,9.176,13.91
			c-2.074,3.586-9.492,3.152-16.652-1.043C1215.637,980.43,1211.547,974.195,1213.598,970.633z"/>
		<path fill="#414042" d="M1141.598,918.426c2.098-3.586,9.551-3.152,16.699,1.043c7.102,4.102,11.227,10.336,9.176,13.898
			c-2.074,3.586-9.492,3.141-16.652-1.031C1143.637,928.211,1139.547,922,1141.598,918.426z"/>
		<path fill="#414042" d="M1213.598,1186.633c2.098-3.586,9.551-3.141,16.699,1.031c7.102,4.125,11.227,10.336,9.176,13.91
			c-2.074,3.586-9.492,3.152-16.652-1.043C1215.637,1196.43,1211.547,1190.195,1213.598,1186.633z"/>
		<path fill="#414042" d="M1141.598,1206.426c2.098-3.586,9.551-3.152,16.699,1.043c7.102,4.102,11.227,10.336,9.176,13.898
			c-2.074,3.586-9.492,3.141-16.652-1.031C1143.637,1216.211,1139.547,1210,1141.598,1206.426z"/>
		<path fill="#414042" d="M1213.598,1258.633c2.098-3.586,9.551-3.141,16.699,1.031c7.102,4.125,11.227,10.336,9.176,13.91
			c-2.074,3.586-9.492,3.152-16.652-1.043C1215.637,1268.43,1211.547,1262.195,1213.598,1258.633z"/>
		<path fill="#414042" d="M1141.598,1278.426c2.098-3.586,9.551-3.152,16.699,1.043c7.102,4.102,11.227,10.336,9.176,13.898
			c-2.074,3.586-9.492,3.141-16.652-1.031C1143.637,1288.211,1139.547,1282,1141.598,1278.426z"/>
		<path fill="#414042" d="M1213.598,1330.633c2.098-3.586,9.551-3.141,16.699,1.031c7.102,4.125,11.227,10.336,9.176,13.91
			c-2.074,3.586-9.492,3.152-16.652-1.043C1215.637,1340.43,1211.547,1334.195,1213.598,1330.633z"/>
		<path fill="#414042" d="M1141.598,1350.426c2.098-3.586,9.551-3.152,16.699,1.043c7.102,4.102,11.227,10.336,9.176,13.898
			c-2.074,3.586-9.492,3.141-16.652-1.031C1143.637,1360.211,1139.547,1354,1141.598,1350.426z"/>
		<path fill="#414042" d="M1213.598,1402.633c2.098-3.586,9.551-3.141,16.699,1.031c7.102,4.125,11.227,10.336,9.176,13.91
			c-2.074,3.586-9.492,3.152-16.652-1.043C1215.637,1412.43,1211.547,1406.195,1213.598,1402.633z"/>
	</g>
</g>
</svg>
  <h2>SQUAREMELON</h2>
</div>

              
            
!

CSS

              
                @svgsize: 200px;

body {
  background-color: #f0f0f0;
}

#svgcontainer {
  height: @svgsize;
  width: @svgsize;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  top: 50vh;
  background-color: #fff;
  transform: translateY(-50%);
  border: 1px solid #eee;
  transition: border 0.4s;
  border-radius: 50%;
  overflow: hidden;
}

#svgcontainer:hover {
  border: (@svgsize / 18 ) solid #6ED685;
}

#svgcontainer h2 {
  z-index: 200;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 0.0625rem;
  height: 100%;
  font-size: (@svgsize / 15);
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%; left: -10%; margin: auto;
  transform: rotatez(-90deg);
}

#svgcontainer:hover h2 {
  top: (47.5% - 4em);
  transform: rotatez(-15deg) translateX(10%);
}

svg {
  width: 100%;
  height: 100%;
}

#svgcontainer:hover svg {
  background: #ea5866;
}

#svgcontainer * {
  transition: 0.4s all;
}

#svgcontainer:hover svg {
  transform-origin: 50% 50%;
  transform: translateY(-5%) translateX(25%) rotateZ(75deg) scale(4);
}

#svgcontainer path {
  opacity: 1;
}

#svgcontainer:hover path {
  opacity: 0.125;
}

h3 {
  position: absolute;
  top: 20px; left: 20px;
  font-family: 'Roboto Condensed', sans-serif;
  weight: 100;
  color: #555;
  padding: 0;
  margin: 0;
}

              
            
!

JS

              
                
              
            
!
999px

Console