我不知道是否存在問題,但是我想知道為什么overflow:hidden在fixed父/子元素上不能使用。這是一個例子:CSS和HTML:.parent{ position:fixed; overflow:hidden; width:300px; height:300px; background:#555;}.children{ position:fixed; top:200px; left:200px; width:150px; height:150px; background:#333;}<div class="parent"> <div class="children"> </div></div>
添加回答
舉報
0/150
提交
取消