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 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.

Quick-add: + add another resource

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.

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 id="container">
  <div id="tree">
    <div class="foliage fs1"></div>
    <div class="foliage fs2"></div>
    <div class="base bs1"></div>
    <div class="base bs2"></div>
    <div class="grass"></div>

              body {
  background-color: #e2ecee;
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"%3E%3Cpath fill="%239C92AC" fill-opacity="0.4" d="M1 3h1v1H1V3zm2-2h1v1H3V1z"%3E%3C/path%3E%3C/svg%3E');

#container {
  margin: 5% auto;
  height: 500px;
  width: 500px;
  border-radius: 50%;
  background-color: #c1d6db;
  display: grid;
  justify-items: center;
  align-items: center;
  perspective: 800px;
  perspective-origin: 50% 100px;
  box-shadow: 0 0 15px  #8ca1a7;

#tree {
  height: 300px;
  width: 200px;
  transform-style: preserve-3d;
  animation: 4s spin linear infinite;

 @keyframes spin {
  100% {
    transform: rotateY(360deg);

.foliage {
  position: absolute;
 	width: 0;
	height: 0;
  border-left: 100px solid transparent;
	border-right: 100px solid transparent;

.fs1 {
  transform: rotateY(45deg);
	border-bottom: 250px solid #a8c8b1;

.fs2 {
  transform: rotateY(-45deg);
	border-bottom: 250px solid #8eb69c;

.base {
  position: absolute;
  margin-top: 250px;
  margin-left: 88px;

.bs1 {
  height: 70px;
  width: 25px;
  background-color: #833b19;
  transform: rotateY(45deg);

.bs2 {
  position: absolute;
  height: 70px;
  width: 25px;
  transform: rotateY(-45deg);


.grass {
  height: 100px;
  width: 100px;
  background-color: #8eb69c;
  background-image: linear-gradient(to top right,#a8c8b1 50%,#8eb69c 51%);
  position: absolute;
  margin-top: 270px;
  margin-left: 50px;
  transform: rotateX(90deg);


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