- 博客(1)
- 收藏
- 关注
原创 如何使子盒子在父盒子里面水平垂直居中?
在css的应用中,让子盒子在父盒子里面水平垂直居中我们有三种方法:首先我们需要先创建两个盒子,再给盒子添加css属性;第一种:.box1 { /* 相对定位 */ position: relative; width: 600px; height: 600px; background-color: pink; } ....
2022-03-09 23:25:20
2209
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人