45
64

More than 3 years have passed since last update.

『パクってOK』transformプロパティで圧倒的に動くCSSアニメーション28選【Vueでも使える】

Last updated at Posted at 2020-08-02

スクリーンショット 2020-08-02 22.15.41.png

こちらの記事に記載のデザイン・コードは全てオリジナルなので自由に使っていただいて大丈夫です(筆者が作成したため)

Web制作で使える。コピペOK。HTML, CSSだけ

まずは動きを確認してみてください(これがコピペOKなのかと驚くはず)


【rotate×scale】画像が回転・拡大するCSSアニメーション3選(解説あり)

動きは下の画像のような感じになります

1. rotate×box-shadowでリアルすぎる画像回転アニメーション

images-rotate-animation-3picks1 (1).png

2. rotate×scale(拡大)で失敗しない画像回転アニメーション

images-rotate-animation-3picks2 (1).png

3. rotate×scale(拡大)×filterで想像を上回る画像回転アニメーション

images-rotate-animation-3picks3 (1).png


【transform rotate(360deg)×flexbox】画像が回転+伸縮するCSSアニメーション3選

動きは下の画像のような感じになります

1. 【縦回転】transform rotateX(360deg)×flexbox画像アニメーション

transform-rotate-flexbox-animation1-228x300 (1).png

2. 【横回転】transform rotateY(360deg)×flexbox画像アニメーション

transform-rotate-flexbox-animation2-265x300 (1).png

3. 【平面回転】transform rotateZ(360deg)×flexbox画像アニメーション

transform-rotate-flexbox-animation3-275x300 (1).png


【真似したくなる】transform:rotate×scaleでCSS画像アニメーション3選

動きは下の画像のような感じになります

1. transform rotateX×scaleで【縦回転】CSS画像アニメーション

スクリーンショット 2020-07-27 23.27.44.png

2. transform rotateY×scaleで【横回転】CSS画像アニメーション

スクリーンショット 2020-07-27 23.27.51.png

3. transform rotateY/Z×scaleで【3D回転】画像アニメーション

スクリーンショット 2020-07-27 23.27.57.png


transform:translateで絵画デザインのスライドショーを実現!CSSスライダーアニメーション3選

動きは下の画像のような感じになります

1. クリックで右方向からスライドしてくるアニメーション

スクリーンショット 2020-07-27 23.31.41.png

2. クリックで上からスライドしてくるアニメーション

スクリーンショット 2020-07-27 23.31.46.png

3. クリックで斜め上からスライドしてくるアニメーション

スクリーンショット 2020-07-27 23.31.52.png


【transform:rotate×scale】回転×拡大するCSS画像アニメーション3選

動きは下の画像のような感じになります

1. 【縦回転】transform rotateXで画像アニメーション

スクリーンショット 2020-07-27 23.34.00.png

2. 【横回転】transform rotateYで画像アニメーション

スクリーンショット 2020-07-27 23.34.07.png

3. 【3D回転】transform rotateYZで画像アニメーション

スクリーンショット 2020-07-27 23.34.16.png


filterとtransformでリアルな絵画デザインのCSSスライダーアニメーション3選

動きは下の画像のような感じになります

1. クリックで横幅が伸び縮みしながらスライドするアニメーション

スクリーンショット 2020-07-27 23.36.33.png

2. クリックで縦幅が伸び縮みしながらスライドするアニメーション

スクリーンショット 2020-07-27 23.36.38.png

3. クリックで思いっきり伸び縮みしながらスライドするアニメーション

スクリーンショット 2020-07-27 23.36.43.png


filterとtransformで超動くCSSスライダーアニメーション4選【Web制作者必見】

動きは下の画像のような感じになります

1. 縦回転するシンプルなスライダーアニメーション

スクリーンショット 2020-07-27 23.39.00.png

2. 滑らかに横回転するスライダーアニメーション

スクリーンショット 2020-07-27 23.39.05.png

3. 平面回転するスタイリッシュなスライダーアニメーション

スクリーンショット 2020-07-27 23.39.11.png


【transform×回転『rotate』】CSS画像アニメーション3選

動きは下の画像のような感じになります

1. 【縦回転】transform rotateXで画像アニメーション

スクリーンショット 2020-07-27 23.41.19.png

2. 【横回転】transform rotateYで画像アニメーション

スクリーンショット 2020-07-27 23.41.25.png

3. 【3D回転】transform rotateYZで画像アニメーション

スクリーンショット 2020-07-27 23.41.31.png


【transform rotate×画像背景】CSS回転アニメーション3選

動きは下の画像のような感じになります

1. 【縦回転】transform rotateX画像背景アニメーション

スクリーンショット 2020-07-27 23.43.31.png

2. 【横回転】transform rotateY画像背景アニメーション

スクリーンショット 2020-07-27 23.43.37.png

3. 【3D回転】transform rotateYZ画像背景アニメーション

スクリーンショット 2020-07-27 23.43.42.png

45
64
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
45
64