Open ForeveHG opened 3 years ago
在页面上隐藏元素的方法有哪些?并简述出第一种方法的应用场景和优劣势。
题目来自https://github.com/haizlin/fe-interview/issues/8
display:none;
visibility: hidden;
opacity: 0;
在页面上隐藏元素的方法有哪些?并简述出第一种方法的应用场景和优劣势。
题目来自https://github.com/haizlin/fe-interview/issues/8