Some rotate items look different, how can I correct them?

0

I need help. Some items that I used the transform method to give a 45 degress rotate are a bit different than the others, all of them in the same div. How can I do to fix it?

I'll give an example with an image to be more specific:

    
asked by anonymous 06.01.2018 / 19:09

1 answer

0

By the image it seems that the different have different height and width than normal.

Set equal height and width on all elements and display arrow: block;

.element {width: 200px; height: 200px; display: block; }

If not, put the code in the link to see better.

    
06.01.2018 / 19:15