|
|
@ -1,19 +1,21 @@ |
|
|
|
.rouleau { |
|
|
|
width: 60px; |
|
|
|
height: 60px; |
|
|
|
margin: 80px 0; |
|
|
|
perspective: 400px; |
|
|
|
width: 4.1vw; |
|
|
|
height: 3.4vw; |
|
|
|
position: absolute; |
|
|
|
top: 16.8vw; |
|
|
|
} |
|
|
|
|
|
|
|
#tirage { |
|
|
|
display: flex; |
|
|
|
justify-content: space-around; |
|
|
|
margin: 0 20%; |
|
|
|
margin: auto; |
|
|
|
position: relative; |
|
|
|
width: 42.4%; |
|
|
|
} |
|
|
|
|
|
|
|
.cube { |
|
|
|
width: 50px; |
|
|
|
height: 50px; |
|
|
|
width: 4.1vw; |
|
|
|
height: 3.4vw; |
|
|
|
position: relative; |
|
|
|
transform-style: preserve-3d; |
|
|
|
/* transform: translateZ(-100px); */ |
|
|
@ -22,10 +24,10 @@ |
|
|
|
|
|
|
|
.cube__face { |
|
|
|
position: absolute; |
|
|
|
width: 50px; |
|
|
|
height: 50px; |
|
|
|
width: 4.1vw; |
|
|
|
height: 3.4vw; |
|
|
|
border: 2px solid black; |
|
|
|
line-height: 50px; |
|
|
|
line-height: 3.4vw; |
|
|
|
font-size: 20px; |
|
|
|
background-color: #e52800; |
|
|
|
box-sizing: border-box; |
|
|
@ -34,13 +36,25 @@ |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
|
|
|
|
.cube__face--0 { transform: rotateX( 0deg) translateZ(76px); } |
|
|
|
.cube__face--1 { transform: rotateX( 36deg) translateZ(76px); } |
|
|
|
.cube__face--2 { transform: rotateX( 72deg) translateZ(76px); } |
|
|
|
.cube__face--3 { transform: rotateX(108deg) translateZ(76px); } |
|
|
|
.cube__face--4 { transform: rotateX(144deg) translateZ(76px); } |
|
|
|
.cube__face--5 { transform: rotateX(180deg) translateZ(76px); } |
|
|
|
.cube__face--6 { transform: rotateX(216deg) translateZ(76px); } |
|
|
|
.cube__face--7 { transform: rotateX(252deg) translateZ(76px); } |
|
|
|
.cube__face--8 { transform: rotateX(288deg) translateZ(76px); } |
|
|
|
.cube__face--9 { transform: rotateX(324deg) translateZ(76px); } |
|
|
|
#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); } |
|
|
|