1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | . icon position : relative overflow : hidden float : left width : 25% height : 0 padding-bottom : 25% .icon-img position : absolute top : 0 left : 0 right : 0 bottom : . 44 rem box-sizing: border-box padding : . 1 rem .icon-img-content display : block margin : 0 auto height : 100% |
课程紧跟Vue3版本迭代,企业主流版本Vue2+Vue3全掌握
了解课程