Css Rotating 3d cubes different speed

Two different cubes rotating with different speed on hover. Based on a pic of Mike Hranica, frontman of The Devil Wears Prada. What is a css rotating 3d cubes different speed How do you make a css rotating 3d cubes different speed? This script and codes were developed by Robert Borghesi on 31 October 2021, Sunday.

How do I make an css rotating 3d cubes different speed?
  1. Css Rotating 3d cubes different speed Previews
  2. Css Rotating 3d cubes different speed HTML Codes
  3. Css Rotating 3d cubes different speed CSS Codes
Css Rotating 3d cubes different speed Previews

Css Rotating 3d cubes different speed HTML Codes

<!DOCTYPE html>
<html >
<head>
  <meta charset="UTF-8">
  <title>Css Rotating 3d cubes different speed</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>
  <img class="hoverme" src="http://www.iltourdinibali.it/codepens/hover.png" />
<div class="content">
    <div class="A up upA"></div>
    <div class="A down downA"></div>
    <div class="B up upB"><h1>MIKE HRANICA</h1>Frontman of the metalcore band "The devil wears prada"</div>
  <div class="B down downB"><div><span class="quote">"We're composing our funeral songs, note by note."</span><br><span class="title">(Reptar, King of the Ozone)</span> </div></div>
</div>
  
  
</body>
</html>

Css Rotating 3d cubes different speed CSS Codes

@import url(http://fonts.googleapis.com/css?family=Lato:400,700,700italic);

*{
  box-sizing: border-box;
}
html, body{
  background-color: rgb(66,66,66);
  font-family: 'Raleway', sans-serif;
  color: #464646;
  font-family: 'Lato', sans-serif;
}
.hoverme{
  margin: 0 auto;
  display: block;
  margin-bottom:-220px;
}
.content{
  width: 250px;
  height: 400px;
  margin: 100px auto;
  position: relative;
  perspective: 500px;
  -webkit-perspective: 500px;
  
}
.A{
  position: absolute;
  transform-origin:100% 50%;
  -webkit-transform-origin:100% 50%;
  z-index: 2;
}
.B{
  position: absolute;
  transform-origin:0% 50%;
  -webkit-transform-origin:0% 50%;
  transform: rotateY(90deg);
  -webkit-transform: rotateY(90deg);
  z-index:1;

}
.up, .down{
  width: 250px;
  height:200px;
}
.upA{
  background:url("http://www.iltourdinibali.it/codepens/mike.jpg");
  top:0px;
  left:0px;
  transition: all 0.5s ease-out;
  -webkit-transition: all 0.5s ease-out;
}
.downA{
  background:yellow;
  top:200px;
  left:0px;
  transition: all 0.7s ease-out;
  -webkit-transition: all 0.7s ease-out;
  background:url("http://www.iltourdinibali.it/codepens/mike.jpg");
  background-position: bottom;
 }
.upB{
  top:0px;
  left:250px;
  transition: all 0.5s ease-out;
 -webkit-transition: all 0.5s ease-out; background:url("http://www.iltourdinibali.it/codepens/old_moon.jpg");
  text-align:center;
}
.upB h1{
  color: white;
  background:#464646;
  padding: 10px;
  position:relative;
  font-size:26px;
  font-weight: 700;
  line-height: 28px;
  display: inline-block;
  margin: 25px 0px 20px 0px;
  
}
.downB{
  top:200px;
  left:250px;
  transition: all 0.7s ease-out;
  -webkit-transition: all 0.7s ease-out;
  
  background:url("http://www.iltourdinibali.it/codepens/old_moon.jpg");
  padding:0px 25px;
  text-align:center;
 }
.downB div{
  margin-top: 40px;
}
.downB .quote{
  position:relative;
  font-size: 22px;
  font-weight: 700;
  font-style:italic;
}
.downB .title{
  margin-top: 15px;
  display:block;
}

.content:hover .upA{
  transform: rotateY(-90deg);
  -webkit-transform: rotateY(-90deg);
  left: -250px;  
}
.content:hover .downA{
  transform: rotateY(-90deg);
  -webkit-transform: rotateY(-90deg);
  left: -250px; 
}
.content:hover .upB{
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  left: 0px;
  z-index:3;
}
.content:hover .downB{
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  left: 0px; 
  z-index:3;
}
Do you want hide your ip address?Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup.