Flip div with two sides of html

后端 未结 5 1257
星月不相逢
星月不相逢 2021-01-01 04:52

I have a login form on a site I am currently building, and I also have a signup form. I would like to add some fancy animation to it by rotating the div to the other side wh

5条回答
  •  粉色の甜心
    2021-01-01 05:06

    The only way to make animations like the ones you are describing is manipulating the DOM. There are not many ways I cant think of to do this without using javascript.

    With using pure HTML, you could build a template that is identical for DIV A and B, then on a POST change between the two, however this will not make the flashy animation like the one you desire.

提交回复
热议问题