Bien au dessus de Léandre et JL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.4 KiB

3 years ago
.rouleau {
3 years ago
width: 4.1vw;
height: 3.4vw;
position: absolute;
top: 16.8vw;
3 years ago
}
3 years ago
#tirage {
display: flex;
3 years ago
justify-content: space-around;
3 years ago
margin: auto;
position: relative;
width: 42.4%;
3 years ago
}
3 years ago
.cube {
3 years ago
width: 4.1vw;
height: 3.4vw;
3 years ago
position: relative;
transform-style: preserve-3d;
3 years ago
/* transform: translateZ(-100px); */
3 years ago
/*transition: transform 1s;*/
3 years ago
}
.cube__face {
position: absolute;
3 years ago
width: 4.1vw;
height: 3.4vw;
3 years ago
border: 2px solid black;
3 years ago
line-height: 3.4vw;
font-size: 20px;
background-color: #e52800;
3 years ago
box-sizing: border-box;
3 years ago
font-weight: bold;
color: white;
text-align: center;
}
3 years ago
#rouleau_1{
left: 42.8%;
}
#rouleau_2{
left: 47.1%;
}
#rouleau_3{
left: 51.5%;
}
.cube__face--0 { transform: rotateX( 0deg) translateZ(74px); }
.cube__face--1 { transform: rotateX( 36deg) translateZ(74px); }
.cube__face--2 { transform: rotateX( 72deg) translateZ(74px); }
.cube__face--3 { transform: rotateX(108deg) translateZ(74px); }
.cube__face--4 { transform: rotateX(144deg) translateZ(74px); }
.cube__face--5 { transform: rotateX(180deg) translateZ(74px); }
.cube__face--6 { transform: rotateX(216deg) translateZ(74px); }
.cube__face--7 { transform: rotateX(252deg) translateZ(74px); }
.cube__face--8 { transform: rotateX(288deg) translateZ(74px); }
.cube__face--9 { transform: rotateX(324deg) translateZ(74px); }