Skip to content Skip to sidebar Skip to footer

Using Css3 Transforms To Flip (rotate And Scale) A Block

I have to div boxes:
I then have CSS like so: .back:hover { transform: scale(2) rotateX(0deg); } .f

Solution 1:

I suggest keyframes

@keyframes scaleUp {
    50%{
        Transform: scale(2) rotate(0);
    }
    100%{
        Transform: scale(2) rotate(180deg);
    }
}
.front {
    animation: scaleUp 1s forwards;
}

Or atleast something in that direction

Post a Comment for "Using Css3 Transforms To Flip (rotate And Scale) A Block"