css turn

作者: Volcaner | 来源:发表于2020-06-02 16:49 被阅读0次

https://www.html.cn/book/css/values/angle/turn.htm

turn属性

说明:
转、圈(Turns)。一个圆共1圈
90deg = 100grad = 0.25turn ≈ 1.570796326794897rad

兼容性:
浅绿 = 支持

红色 = 不支持

粉色 = 部分支持

<style>
.test {
    width:400px;
    height: 100px;
    background: #eee;
    -webkit-transform: rotate(.5turn);
    transform: rotate(.5turn);
}
</style>

相关文章

网友评论

      本文标题:css turn

      本文链接:https://www.haomeiwen.com/subject/cxtpzhtx.html