Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ add another resource


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


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.


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.




	width: 200px;
  margin: 0 auto;
  padding: 80px;

	background: #65b849;
  background: linear-gradient(#65b849 17%, #f7b423 17%, #f7b423 34%, #f58122 34%, #f58122 50%, #de3a3c 50%, #de3a3c 66%, #943f96 66%, #943f96 82%, #009fd9 82%, #009fd9 86%);
  width: 208px;
  height: 198px;
  position: absolute;
  border-radius: 36% 36% 41% 41% / 42% 42% 75% 75%;

  background: #65b849;
  content: "";
	width: 55px;
  height: 55px;
  position: absolute;
  margin: -51px 0 0 100px;
  border-radius: 100px 0;
  z-index: 5;

  background: #fff;
  content: "";
	width: 90px;
  height: 90px;
  position: absolute;
  margin: 28px 0 0 174px;
  border-radius: 50%;
  transform: rotate(-53deg);
  z-index: 4;
    24px -154px 0 #fff,
    10px -175px 0 #fff,
    11px -171px 0 #fff,
    12px -160px 0 #fff,
    -215px -7px 0 #fff,
    -195px 17px 0 #fff,
    -198px 3px 0 #fff,
    -198px 13px 0 #fff;

	transform: scale(1.1);
  cursor: pointer;
  -webkit-filter: contrast(1.2) saturate(1.2);



Single element Rainbow Colored Apple logo 
CSS linear-gradient, :before, :after pseudo elements and box-shadow tricks. 
Created by Azik Samarkandiy