Div moving in cycle rotation using JavaScript

后端 未结 4 1075
旧时难觅i
旧时难觅i 2021-01-29 07:22

Is it possible to rotate a Div in cyclic rotation using JavaScript. I have four DIVs in an HTML page. I need to rotate those DIVs in a cyclic rotation.

4条回答
  •  悲&欢浪女
    2021-01-29 07:46

    this could possibly be done... but not easily, and you wouldn't be able to maintain the original feeling of the content inside of the div.

    unless i misunderstood your question, if your just talking about cycling through 4 divs... this is defiantly possible and very easy. But if your asking if you can rotate the actual div...

提交回复
热议问题