- ✕この概要は、複数のオンライン ソースに基づいて AI を使用して生成されました。元のソース情報を表示するには、[詳細情報] リンクを使用します。
The @keyframes rule in CSS is used to create animations by defining intermediate steps, or keyframes, in an animation sequence. This allows for more control over the animation compared to transitions, as you can specify multiple stages of the animation.
Syntax and Usage
To use @keyframes, you first create a rule with a name that will be used by the animation-name property to link the animation to its keyframe declaration. Each @keyframes rule contains a list of keyframe selectors, which specify percentages along the animation timeline when the keyframe occurs, and a block containing the styles for that keyframe.
Here is a basic example:
@keyframes slidein {from {transform: translateX(0%);}to {transform: translateX(100%);}}コピーしました。✕コピーIn this example, the animation named slidein moves an element from 0% to 100% along the X-axis.
Keyframe Selectors
【CSS】animationと@keyframesの指定方法を完全解説
@keyframes - CSS | MDN - MDN Web Docs
@keyframes は CSS のアットルールで、アニメーションの流れに沿ったキーフレーム(または中間地点)のスタイルを定義することによって、一連の CSS アニメーションの中間ステップを制御します。
【CSS】「@keyframes」を使ってアニメーションをつける基本的 ...
2024年8月25日 · 丁寧にまとめていくので、興味がある方はぜひご一読ください。 「@keyframes」を使うと繰り返しのアニメーションな …
【CSS初心者向け】@keyframesとは?アニメーションの作り方 ...
2025年10月25日 · @keyframesとは? @keyframes(キーフレーム)とは、 CSSアニメーションの動きを段階的に指定するための機能 です。 簡単に言えば、「アニメーションの設計図」のようなもの …
CSS @keyframes完全ガイド:animation-delay・iteration-count ...
CSSアニメーションが思い通りに動かない原因、見落としていませんか? @keyframesの仕様と、animation-delay・iteration-count・alternateなどのプロパティの組み合わせによる挙動を、実例付き …
CSS @keyframes Rule - W3Schools
The CSS @keyframes rule is used to control the steps in an animation sequence by defining CSS styles for points along the animation sequence. An animation is created by gradually changing from one set …
CSS - @keyframes - とほほのWWW入門
CSS - @keyframes トップ CSSリファレンス @keyframes 概要 ... 説明 animation プロパティによるアニメーションのフレームを定義します。 name に animation-name プロパティで指定するフレーム名 …
【keyframes animation】CSSでアニメーションする方 …
2024年8月1日 · 上の例では、keyframesを使って「不透明度が0の状態から1.0の状態に変化させる」というアニメーション動作を、animationを使って3.0秒間の …
【CSSアニメーション】@keyframes・animationプロパ …
「@keyframes」は、opacity や width などのスタイルをどのように変化させていくかを指定します。 例えば、最初は透明な状態(opacity: 0)から、だんだん不 …
CSS Animations Keyframes に関連する検索