📜  转换属性 css 代码示例

📅  最后修改于: 2022-03-11 14:47:54.593000             🧑  作者: Mango

代码示例3
div {
  width: 80px;
  height: 80px;
  background-color: skyblue;
}

.rotated {
  transform: rotate(45deg); /* Equal to rotateZ(45deg) */
  background-color: pink;
}