和父亲元素没关系,走自己盒子宽度一半
transform:translate(-50%,-50%)
猜你喜欢
转载自www.cnblogs.com/Yanss/p/10252629.html
今日推荐
周排行