Skip to content

Commit 96e2f1d

Browse files
committed
Translate tasks in 3-animation/2-css-animations
1 parent cb48580 commit 96e2f1d

File tree

5 files changed

+22
-24
lines changed

5 files changed

+22
-24
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11

2-
CSS to animate both `width` and `height`:
2+
`width` `height` 両方をアニメーションする CSS です:
33
```css
4-
/* original class */
4+
/* 元の class */
55

66
#flyjet {
77
transition: all 3s;
88
}
99

10-
/* JS adds .growing */
10+
/* JS .growing を追加*/
1111
#flyjet.growing {
1212
width: 400px;
1313
height: 240px;
1414
}
1515
```
1616

17-
Please note that `transitionend` triggers two times -- once for every property. So if we don't perform an additional check then the message would show up 2 times.
17+
`transitionend` は 2回トリガすることに注意してください -- すべてのプロパティに対して1度トリガします。したがって、追加のチェックをしない場合、メッセージは2度表示されます。

3-animation/2-css-animations/1-animate-logo-css/task.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ importance: 5
22

33
---
44

5-
# Animate a plane (CSS)
5+
# 飛行機をアニメーションする (CSS)
66

7-
Show the animation like on the picture below (click the plane):
7+
下の図のようなアニメーションを表示してください(飛行機をクリックしてください)。:
88

99
[iframe src="solution" height=300]
1010

11-
- The picture grows on click from `40x24px` to `400x240px` (10 times larger).
12-
- The animation takes 3 seconds.
13-
- At the end output: "Done!".
14-
- During the animation process, there may be more clicks on the plane. They shouldn't "break" anything.
11+
- 写真はクリックで `40x24px` から `400x240px` まで大きくなります(10倍)
12+
- アニメーションは 3秒です
13+
- 最後に "Done!" を出力します
14+
- アニメーション処理中にも飛行機がクリックがされる可能性がありますが、それらは何も "壊すべきではありません"。
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
We need to choose the right Bezier curve for that animation. It should have `y>1` somewhere for the plane to "jump out".
1+
このアニメーションに対する正しいベジェ曲線を選ぶ必要があります。"飛び出す" ようにするため、どこかで `y>1` となるタイミングが必要です。
22

3-
For instance, we can take both control points with `y>1`, like: `cubic-bezier(0.25, 1.5, 0.75, 1.5)`.
3+
例えば、`cubic-bezier(0.25, 1.5, 0.75, 1.5)` のように、両方の制御点が `y>1` を取ることができます。
44

5-
The graph:
5+
グラフは次の通りです:
66

77
![](bezier-up.png)

3-animation/2-css-animations/2-animate-logo-bezier-css/task.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ importance: 5
22

33
---
44

5-
# Animate the flying plane (CSS)
5+
# 飛んでいる飛行機をアニメーションする (CSS)
66

7-
Modify the solution of the previous task <info:task/animate-logo-css> to make the plane grow more than it's original size 400x240px (jump out), and then return to that size.
7+
前のタスク <info:task/animate-logo-css> の解答を修正して、元のサイズ 400x240px よりも大きくなり(飛び出し)、その後元のサイズに戻るようにしてください。
88

9-
Here's how it should look (click on the plane):
9+
次のように見えるようにします(飛行機をクリックしてください):
1010

1111
[iframe src="solution" height=350]
12-
13-
Take the solution of the previous task as the source.

3-animation/2-css-animations/3-animate-circle/task.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ importance: 5
22

33
---
44

5-
# Animated circle
5+
# アニメーションサークル
66

7-
Create a function `showCircle(cx, cy, radius)` that shows an animated growing circle.
7+
アニメーションで大きくなる円を表示する関数 `showCircle(cx, cy, radius)` を作成してください。
88

9-
- `cx,cy` are window-relative coordinates of the center of the circle,
10-
- `radius` is the radius of the circle.
9+
- `cx,cy` は、円の中心のウィンドウ相対座標です。
10+
- `radius` は円の半径です。
1111

12-
Click the button below to see how it should look like:
12+
どのように表示されるかは下のボタンをクリックしてください:
1313

1414
[iframe src="solution" height=260]
1515

16-
The source document has an example of a circle with right styles, so the task is precisely to do the animation right.
16+
ソースとなるドキュメントには正しいスタイルの円の例があるので、このタスクは正しいアニメーションを行うようにすることです。

0 commit comments

Comments
 (0)