助け合いフォーラム
トピック一覧に戻る
トピック タイトル
問題ID: 31222について
フォーラム
最強WEB問題集HTML5プロフェッショナル認定資格 レベル1
投稿ユーザ(投稿日)
(2017/12/29)
本文
解説の中に、
>「0%」または「from」が開始時点、「100%」または「to」が終了時点で、これらの指定は必須です。
とありますが、これらも省略可能なのではないかと思いました。

参照資料
http://www.w3.org/TR/css-animations-1/#keyframes
>If a 0% or from keyframe is not specified, then the user agent constructs a 0% keyframe using the computed values of the properties being animated.
>If a 100% or to keyframe is not specified, then the user agent constructs a 100% keyframe using the computed values of the properties being animated.

ただ、実行環境によっては省略すると上手く動かないと書いてあるWebページもあり、省略可能なのか不可なのかどちらが正しいのかわかりませんでした。
試験では、どちらが正解なのでしょう・・・
レス一覧

トピック一覧に戻る
フォーラムTopへ

Ping-tモバイルTOP

Copyright (c) 2010
Ping-t All rights reserved.