cube stacked one after another with css

Hello I’m having some problems, my goal is for the cubes to be stacked one after the other from left to right with a height of 3 cubes, I want to have a maximum width of 595px in case it exceeds scaling it to reach, but the div it contains all the cubes have excessive height when rotating it.

advance link: https://codepen.io/silviopd/pen/MWKBXjX

Thanks for the help in advance

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.