prevent children from inheriting transformation css3

后端 未结 4 1338
太阳男子
太阳男子 2020-12-05 10:04

I have a div that i\'m tranforming (scale and translate), but inside that div i have another div. Now i would to see that the inner

4条回答
  •  长情又很酷
    2020-12-05 10:22

    Do as usual. Set "transform: none" to all of children.

    .children1,
    .children2,
    .childrenN {
        -moz-transform: none;
        -webkit-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
    }
    

提交回复
热议问题