转换值

在等效长度、时间和角度值之间进行转换。请注意,默认情况下,长度值不会被转换。

示例

输入

.box {
    transition: color 500ms ease;
}

输出

.box {
    transition: color .5s ease;
}