Skip to content

Commit 5c96a67

Browse files
authored
Merge pull request #220 from yoga1234/master
Translate
2 parents 634af5f + 00b51c7 commit 5c96a67

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
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+
CSS untuk menganimasikan `width` dan `height`:
33
```css
4-
/* original class */
4+
/* class original */
55

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

10-
/* JS adds .growing */
10+
/* JS menambahkan .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+
Perlu diingat bahwa `transitionend` memicu dua kali -- sekali untuk setiap properti. Jadi jika kita tidak ingin melakukan pengecekan tambahan maka pesannya akan muncul 2 kali.
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
importance: 5
1+
Nilai: 5
22

33
---
44

5-
# Animate a plane (CSS)
5+
# Animasi sebuah bidang (CSS)
66

7-
Show the animation like on the picture below (click the plane):
7+
Tampilkan animasi seperti gambar dibawah (klik pada bidang):
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!".
11+
- Gambarnya membesar saat di klik dari `40x24px` menjadi `400x240px` (10 kali lebih besar).
12+
- Animasinya memakan waktu 3 detik.
13+
- Saat selesai keluarkan: "Done!".
1414
- During the animation process, there may be more clicks on the plane. They shouldn't "break" anything.
15+
- Pada saat proses animasi, mungkin akan terjadi lebih dari 1 klik pada bidangnya. Klik-klik tersebut tidak boleh membuat aplikasinya *error*.

0 commit comments

Comments
 (0)