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
Post a Comment