T
T
TheEvilka2019-03-23 00:30:16
HTML
TheEvilka, 2019-03-23 00:30:16

3D CSS3 cube. How to organize the change of sides by pressing the buttons?

How can I make the cube rotate on the click of a button on the site? 6 buttons = 6 sides

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Pershin, 2019-03-23
@TheEvilka

Use transform: rotate3d and set the required values ​​for each button
https://developer.mozilla.org/en-US/docs/Web/CSS/t...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question