Animation.skewX

解释:对 X 轴坐标进行倾斜。

方法参数

Number ax

参数说明

参数范围 -180~180 ;Y 轴坐标不变, X 轴坐标延顺时针倾斜 ax 度。

示例

在开发者工具中打开

在开发者工具中打开

在 WEB IDE 中打开

扫码体验

代码示例

百度智能小程序

请使用百度APP扫码

图片示例

Animation.skewX - 图2

代码示例

  • SWAN
  • JS
  1. <view class="wrap">
  2. <view class="animation-element-wrapper">
  3. <view class="animation-element" animation="{{animation}}"></view>
  4. </view>
  5. <view class="card-area">
  6. <view class="top-description border-bottom">展示动画</view>
  7. <button type="primary" bindtap="skewX">skewX</button>
  8. </view>
  9. </view>