Pen Settings

HTML

CSS

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

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

Auto Save

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

              
                <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Arima:wght@300&family=Castoro&family=Comfortaa:wght@300&family=El+Messiri&family=Poiret+One&display=swap" rel="stylesheet">

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Julius+Sans+One&display=swap" rel="stylesheet">

<body>

  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />

    <title>Panorama Box</title>
  </head>

  <div class="scene">
    <div class="cube spin">
      
        <!-- Space Panel  -->
      
            <div class="cube__facespace cube__face--space" >

        
            <h1 class="title_box" style="font-family: 'Julius Sans One', sans-serif; font-size:20px;letter-spacing: 20px; margin-top:41.5%; ">
             
              space
              
            </h1>

          </div>
      
      
      <!-- Fire Panels  -->
      <!-- Back Panel 10 -->
      
      <div class="cube__face__fire cube__face--panel10" >

        
            <h1 class="title_box" style="font-family: 'El Messiri', sans-serif; font-size:19px; ">
              Fire Feu Fuego Tan Agni Apoy
             
            </h1>

          </div>
      
      <!-- Back Panel 11 -->
      
      <div class="cube__face__fire cube__face--panel11" >

        
            <h1 class="title_box" style="font-family: 'El Messiri', sans-serif; font-size:19px; ">
              Fire Feu Fuego Tan Agni Apoy
             
            </h1>

          </div>
      
      <!-- Back Panel 12 -->
      <div class="cube__face__fire cube__face--panel12" >

        
            <h1 class="title_box" style="font-family: 'El Messiri', sans-serif; font-size:19px; ">
              Fire Feu Fuego Tan Agni Apoy
             
            </h1>

          </div>
      
      <!-- Back Panel 13 -->
      <div class="cube__face__fire cube__face--panel13" >

        
            <h1 class="title_box" style="font-family: 'El Messiri', sans-serif; font-size:19px; ">
              Fire Feu Fuego Tan Agni Apoy
             
            </h1>

          </div>
      

        <!--  Water panels -->
      
      <!-- Back Panel 6 -->

      <div class="cube__face cube__face--right-right" style="">
       
        <div class="row" style="font-family: 'Arima', cursive;">
          
            <h1 style="text-align:center; font-size:24px" class="title_box">Water Dour Acua Wasser Paani Mizu 
            </h1>
            

          </div>
         
         
          </div>

     
      
   <!-- End of Back Panel 6 -->
      
      
<!-- Back Panel 5 -->

    <div class="cube__face cube__face--right">
       
         
    <h1 style="text-align:center; font-family: 'Arima', cursive;font-size:24px"
                                                                 class="title_box">
              Water Dour Acua Wasser Paani Mizu 
            </h1>

          </div>
      

      
   <!-- End of Back Panel 5 -->

   
<!-- Back Panel 4 -->
      <div class="cube__face cube__face--back" >

    
            <h1 class="title_box" style="font-family: 'Arima', cursive;font-size:24px">Water Dour Acua Wasser Paani Mizu </h1>
            
            </p>

          </div>
          
   <!-- End of Back Panel 4 -->

      
   <!--  Back Panel 3 -->

      <div class="cube__face cube__face--left" style="">

        <div class="row" style="">
          <div class="column left">
            <h1 class="title_box" style="font-family: 'Arima', cursive;font-size:24px">
              Water Dour Acua Wasser Paani Mizu </h1>
            
            <p class="event_info">
            </p>

          </div>
          
        </div>
        
             <!-- colorful W letter code  -->
        
        <span style="font-size:200px;text-align:center;color:Blue"></span>
        
        
      </div>


      
   <!--  Air panels  -->     
      
  <!--  Back Panel 2 -->
 <div class="cube__faceair cube__face--top2" style="margin-left:-3%;margin-top:-3%;">

        <div class="row">
          <div class="column left">
            <h1 class="title_box" style="font-family: 'Comfortaa', cursive; font-size:20px; ">Air Lug ajar aria zrak luft vayu loft hawa </h1>
           
            </p>
          </div>
   
            
          </div>
        </div>

      
   <!--  end of Back Panel 2 -->

    
    <!--  Back Panel 7 -->
 <div class="cube__faceair cube__face--top7" style="margin-left:-3%;margin-top:-3%;">

        <div class="row">
          <div class="column left">
            <h1 class="title_box" style="font-family: 'Comfortaa', cursive; font-size:20px; ">
              Air Lug ajar aria zrak luft vayu loft hawa</h1>
           
            </p>
          </div>
          <div class="column right">
            
          </div>
        </div>

      </div>
   <!--  end of Back Panel 7 -->

    
      <!--  Back Panel 8 -->
 <div class="cube__faceair cube__face--top8" style="margin-left:-3%;margin-top:-3%;">

        <div class="row">
          <div class="column left">
            <h1 class="title_box" style="font-family: 'Comfortaa', cursive; font-size:20px; ">
              Air Lug ajar aria zrak luft vayu loft hawa</h1>
           
            </p>
          </div>
          <div class="column right">
            
          </div>
        </div>

      </div>
   <!--  end of Back Panel 8 -->

 <!--  Back Panel 9 -->
 <div class="cube__faceair cube__face--top9" style="margin-left:-3%; margin-top:-3%;">

        <div class="row">
          <div class="column left">
            <h1 class="title_box" style="font-family: 'Comfortaa', cursive; font-size:20px;"> 
              Air Lug ajar aria zrak luft vayu loft hawa </h1>
           
            </p>
          </div>
          <div class="column right">
            
          </div>
        </div>

      </div>
   <!--  end of Back Panel 9 -->


      <!-- Back Panel 1 -->
      <div class="cube__face__panel1 cube__face--top" >

        
            <h1 class="title_box" style="font-family: 'Castoro', serif; font-size:20px;letter-spacing: 10px; margin-top:5%; ">
             Earth <br>Tierra <br>Arde <br>Zemlya 
            </h1>

          </div>
      




      
    </div>
    
    
  </div>

</body>
              
            
!

CSS

              
                
@font-face {
    font-family: 'WSoAVEN';
    src: url('https://thehappening.us/wp-content/uploads/webfont/WSoAVEN.woff') format('woff');
    font-weight: 200;

}

body,
html {
  width: 100%;
  height: 100%;
  position: relative;
font-family: 'WSoAVEN';

}

body{
  background: rgb(249,245,178);
background: linear-gradient(0deg, rgba(249,245,178,0.9178265056022409) 0%, rgba(153,251,245,0.9178265056022409) 27%, rgba(226,227,226,0.7385547969187676) 51%, rgba(123,240,249,0.8169861694677871) 72%, rgba(158,244,180,0.8085828081232493) 99%);;
  
}

.scene {
  width: 500px;
  height: 500px;
  perspective: 900px;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(100px);
  transform-style: preserve-3d;
}


/*---  overall panel style   ---*/

/*---  Size of Space panel   ---*/


.cube__facespace {
  position: absolute;
  width: 490px;
  height: 490px;
  color:black;
  margin-left:-3%;
  font-size:20px;
  text-align: center;
 
}


/*---  Position of Space panels   ---*/


.cube__face--space {
  background:  ;
  transform: rotateY(0deg) translateZ(-350px);
}


/*---  Size of Air panels   ---*/


.cube__faceair {
  position: absolute;
  width: 490px;
  height: 490px;
  color:black;
  margin-left=-20%;
  font-size:20px;
  text-align: center;
  
}

/*---  Position of air panels  ---*/

/*--- back panel 2  ---*/
.cube__face--top2 {
  background: ;
  transform: rotateY(0deg) translateZ(-150px) rotate(-45deg);
}

/*--- back panel 7  ---*/
.cube__face--top7 {
  background: ;
  transform: rotateY(0deg) translateZ(-150px) rotate(45deg);
}

/*--- back panel 8  ---*/
.cube__face--top8 {
  background: ;
  transform: rotateY(0deg) translateZ(-150px) rotate(135deg);
}

/*--- back panel 9  ---*/
.cube__face--top9 {
  background: ;
  transform: rotateY(0deg) translateZ(-150px) rotate(225deg);
}



/*---  size of water panels  ---*/
.cube__face {
  position: absolute;
  width: 450px;
  height: 450px;
  color:black;
  margin:10px;
  font-size:20px;
  text-align: center;
  border:0.5px solid black; /*---  borders are coming from here   ---*/

}




/*--- back panel 6 ---*/
.cube__face--right-right {
    transform: rotate(135deg) translateZ(100px);  
text-align: center;
  background: ;
  /*--- pushes or pulles in z index ---*/
}


/*--- back panel 5 ---*/
.cube__face--right {
    transform: rotate(45deg)  translateZ(100px);

  background: ;
 ; /*--- pushes or pulles in z index ---*/
}

/*--- back panel 4  ---*/
.cube__face--back {
  background:  ;
  transform: rotate(-135deg) translateZ(100px);
}

/*--- back panel 3 ---*/
.cube__face--left {
  background: ;
  transform: rotateY(0deg) rotate(-45deg) translateZ(100px);
}





/*--- Position of panel Earth ---*/

.cube__face--top {
  background:  ;
  transform: rotateY(0deg) translateZ(250px);
}

/*--- size of panel Earth ---*/

.cube__face__panel1 {
  position: absolute;
  width: 200px;
  height: 200px;
  color:black;
margin-left:28%;
  margin-top:28%;
  font-size:40px;
  text-align: center;
  border: ;
}

/*--- position Fire panels ---*/

.cube__face--panel10 {
  background:  ;
  transform: rotateY(0deg) translateZ(0px)rotate(-90deg);
}

.cube__face--panel11 {
  background:  ;
  transform: rotateY(0deg) translateZ(0px);
}

.cube__face--panel12 {
  background:  ;
  transform: rotateY(0deg) translateZ(0px) rotate(90deg);
}

.cube__face--panel13 {
  background:  ;
  transform: rotateY(0deg) translateZ(0px) rotate(180deg);
}

/*--- size of panel Fire ---*/

.cube__face__fire {
  position: absolute;
  width: 310px;
  height: 310px;
  color:black;
margin-left:16%;
  margin-top:16%;
  text-align: center;
  border:.5px solid black;
}



/*---  bottom panel    ---*/
.cube__face--bottom {
  background:  ;
  padding:0px;
  transform: rotateX(-90deg) 
    translateZ(320px);
}
 
.cube.spin {
  animation: spinCube 30s linear infinite;
}


/*---  movement of the cube, 
rotateY = horizontal 
rotateX = vertical
---*/


@keyframes spinCube {
  0% {
    transform: translateZ(0px) rotateX(0deg) rotateY(90deg);
  }

 25% {
    transform: translateZ(0px) rotateX(0deg) rotateY(0deg);
  }
  
  
  50% {
    transform: translateZ(1200px) rotateX(0deg) rotateY(0deg);
  }
  
  75% {
    transform: translateZ(0px) rotateX(0deg) rotateY(0deg);
  }

  100% {
    transform: translateZ(0px) rotateX(0deg) rotateY(-90deg);
  }
}




/*---  big type bg   ---*/



.p1{
  font-size:.7em;
  line-height:0.8em;
  margin:5px;
  padding:0px;
}


.pink{color:black;}
.blue{color:black;}



/*---  typography   ---*/

.title_box{
  font-size:35px;
  line-height:45px;
margin:0px 0px 0px 0px;
  letter-spacing:-1px;
  align:;
    }

.date_box{
  font-size:28px;
  line-height:24px;
  text-align:center;
  margin:0px;
}


.event_info{
font-size:23px;
line-height:29px;
margin:0px;
  letter-spacing:0px;
}



h1{
  padding:0px;
  margin:0px;
}


.big_type{
color:black;
  font-size:1em !important;
  line-height:1.1em;
  letter-spacing:0px;
  text-align:center;
}
/*---  title & dates containter   ---*/




/* Create two unequal columns that floats next to each other */

 /* Should be removed. Only for demonstration */
}



.right {
  width: 15%;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


              
            
!

JS

              
                
              
            
!
999px

Console