1.js方法
通过window.onresize=function(){}控制
2.css:absolute定位
设置一个最外层div通过absolute定位top,left,right,bottom为0来代替body,设置一个content的div来作为容器absolute定位来实现,最后通过absolute来定位button按钮到底部
1.js方法
通过window.onresize=function(){}控制
2.css:absolute定位
设置一个最外层div通过absolute定位top,left,right,bottom为0来代替body,设置一个content的div来作为容器absolute定位来实现,最后通过absolute来定位button按钮到底部