setting visibility vs. hide/show

后端 未结 5 581
余生分开走
余生分开走 2021-02-07 01:02

What is the difference between element.css(\'visibility\', \'visible\') and element.show(). Also, what is the difference between element.css(\'vi

5条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-07 01:29

    In addition to bardiir's explanation here is good demo of "display:none" and "visibility:hidden" http://www.w3schools.com/css/css_display_visibility.asp

    "remove" button sets "display:none" and "hide" button sets "visibility:hidden".

提交回复
热议问题