<\/p>##Instructions:
<\/p>
display: none Method 2: Using position and top attributes<\/strong><\/p>Just add position: absolute;top: -9999px; can hide the element without occupying space, so dynamically changing this attribute will cause rearrangement (change the page layout), which can be understood as deleting the element from the page; it will not be inherited by descendants, but His descendants will not be shown, after all, they are all hidden together. <\/code><\/p>
style to the element<\/code>
\n\n \n \n