CSS可见性的用法:隐藏;
具有隐藏 值的可见性属性用于隐藏元素。您可以尝试实现以下代码以实现隐藏值
示例
<html> <head> </head> <body> <p>This paragraph should be visible in normal way.</p> <p style = "visibility:hidden;"> This paragraph should not be visible. </p> </body> </html>
具有隐藏 值的可见性属性用于隐藏元素。您可以尝试实现以下代码以实现隐藏值
<html> <head> </head> <body> <p>This paragraph should be visible in normal way.</p> <p style = "visibility:hidden;"> This paragraph should not be visible. </p> </body> </html>