I’ve seen many CSS3 Cube using div’s, wanted to create the same with unordered list.
I managed to create the cube here http://codepen.io/iakshay/full/2/10. But I’m getting some extra margins between the faces.
Can’t figure out whats going wrong.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You used:
When you use only
100pxI guessit should work, like this:EDIT
Basically you have to use half the width because
rotateXYZrotates the element at a point in the middle. When done you’re already half the way and only have to add the “rest”.Here is a good example to see this effect on a mouseover:
http://css3.bradshawenterprises.com/flip/