add colors

mend
This commit is contained in:
2025-03-21 18:05:41 +01:00
parent 7918d0720e
commit be3aa51cc0

View File

@@ -18,7 +18,7 @@
.container { .container {
width: 200px; width: 200px;
height: 200px; height: 200px;
perspective: 500px; perspective: 400px;
margin: 100px; margin: 100px;
} }
@@ -96,14 +96,12 @@
@keyframes turn { @keyframes turn {
from { transform: rotate3d(0, 0, 0, 0); } from { transform: rotate3d(0, 0, 0, 0); }
to { transform: rotate3d(1, 1, 0, 360deg); } to { transform: rotate3d(1, 0, 1, 360deg); }
} }
.cube { .cube {
position: relative; position: relative;
width: 200px;
height: 200px;
transform-style: preserve-3d; transform-style: preserve-3d;
animation: turn 5s linear infinite; animation: turn 1500ms linear infinite;
} }
</style> </style>