不能。position:fixed; 只能相对于 body。
但可以利用 top:50%; left:50%;,再配合 margin-left、margin-top 让元素位于某一块固定区域。
创建于2005年 渝ICP备05010272号-1
电邮:cftea@126.com