The transform property allows you to modify the shape, position, and size of an element without changing the layout or affecting the surrounding elements. It has functions such as translate(), rotate(), scale(), skew(), and matrix().
如:transform: rotate(-45deg);
css做一个三角形:
.cat-right-ear {
border-right: 35px solid transparent;
border-left: 35px solid transparent;
border-bottom: 70px solid #5e5e5e;
}
最新回复