javascript - Transitioning "width"property while DOM is changing -


I want to make a transition to the width of a container, which is equal to the breadth of the container width and content by dom Changing

Here is a link

Ward by code:

  var container = $ (". Container"); Var nav = $ (". Nav"); Var menu = $ ("menu"); $ (".sth1") (function () {nav.detach (); menu.appendTo (container); menu.show ();}); $ ("Button") click (function () {menu.detach (); nav.appendTo (container);});  


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -