代码如下: body { position: relative; margin: 0 auto; max-height: 500px; } footer { position: fixed; width: 100%; }
CSS绝对定位width100%超出容器问题?
猜你喜欢
转载自blog.csdn.net/qq_30776829/article/details/128268470
今日推荐
周排行