css实现元素自适应屏幕大小的思路是:1、算出宽高比,并设置为padding-top的值,height设置为0;2、然后用绝对定位改变元素的实际内容的位置。
技术文章 / 下载软件趣味内容 / 专业带飞