舌头怎么不用加定位?
来源:2-8 汉克狗的牙齿和舌头
别话3
2019-07-14 21:35:28
}
.mouth>.teen{
width:8px;
height:3px;
background:#f9f9f6;
position: absolute;
top:7px;
left:50%;
transform: translate(-8px,0);
z-index:3;
}
.teen.right{
transform:scale(-1,1) translate(-3px,0);
border-right:.5px solid #ddd;
}
.tongue{
width:34px;
height:14px;
background:#a2504f;
border-radius:17px/0px 0px 7px 7px;
box-shadow:0 0 4px 0 #000 inset;
z-index:1;
position:absolute;
top:7px
}
老师我按照你的不加定位 显示不出来的 一定要加了绝对定位才行
1回答
好帮手慕糖
2019-07-15
同学你好,课程中也是有定位的哦,老师后面有添加了个center这个类,这个类中就有设置定位哦,例:
希望能帮助到你,欢迎采纳。
祝学习愉快!
相似问题