visibility有趣的继承特性测试实例页面
展示
代码
-
HTML:
<ul style="visibility:hidden;"> <li style="visibility:visible;">列表1</li> <li>列表2</li> <li>列表3</li> <li style="visibility:visible;">列表4</li> </ul>
<ul style="visibility:hidden;"> <li style="visibility:visible;">列表1</li> <li>列表2</li> <li>列表3</li> <li style="visibility:visible;">列表4</li> </ul>