我想定义一个类,只将CSS3转换应用于translate3d变换,而不是任何其他变换(旋转、平移等)。是否可能?如果可能,语法是什么?类似这样的东西:
```css .translate-only { /* styles applied only to translate3d transform */ } ```
```html
```css .translate-only { /* styles applied only to translate3d transform */ } ```
```html
Contents
```.animatedMarker {
transition: transform:translate3d 1s linear;
/* transition is only applied to translate3d transformation, so rotate, translate, etc. won't be animated */
}