cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatspinnerstartv

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.

		- for (var x = 0; x < 3; x++)
              $color_1: #eee; // white
$color_2: #4a4a4a; //gray

$bg_logo: #61dafb;

body {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	background: $color_1;

.eye {
	position: relative;
	width: 200px;
	height: 200px;
	background: radial-gradient($color_1 82%, $color_2 82.5%);
	margin: 50px;
	border-radius: 75% 0 75% 0;
	transform: rotate(45deg);
		-0px -0px 0 2px $color_2,
		-5px 1px 0 0 $color_2,
		-11px -11px 0 0 $color_1,
		-19px -19px 0 -7px $color_2,
		5px 5px 0 0 $color_1,
		10px 10px 0 -6px $color_2;
	&::before {
		content: "";
		position: absolute;
		top: 187px;
    left: -76px;
		width: 80px;
		height: 40px;
		background: none;
		border-right: 3px solid transparent;
		border-bottom: 3px solid $color_2;
		border-radius: 45%;
		transform: rotate(-43deg);

.logo {
	position: absolute;
	bottom: -196px;
	left: -200px;
	width: 600px;
	height: 600px;
	transform: scale(0.2) rotate(-45deg);
	border-radius: 50%;
	background: rgba(0,0,0,.1);
	.circle {
		position: absolute;
		left: 184px;
    top: 22px;
    width: 180px;
    height: 506px;
    background: none;
    border-radius: 50%;
    border: 25px solid $bg_logo;
		&:nth-child(1) {
			transform: rotate(90deg);
		&:nth-child(2) {
			transform: rotate(30deg);
		&:nth-child(3) {
			transform: rotate(-30deg);

.center {
	position: absolute;
	top: 250px;
	left: 250px;
	width: 100px;
	height: 100px;
	background: $bg_logo;
	border-radius: 50%;


Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.


Loading ..................