Skip to content

Commit 6949a7d

Browse files
committed
translated task 1
1 parent 7b5f32a commit 6949a7d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-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 pentru a anima atât `width` cât și `height`:
33
```css
4-
/* original class */
4+
/* clasa originală */
55

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

10-
/* JS adds .growing */
10+
/* JS adaugă .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+
Vă rugăm să notați că `transitionend` se declanșează de două ori -- o dată pentru fiecare proprietate. Deci dacă nu efectuăm o verificare suplimentară atunci mesajul va apărea de 2 ori.

7-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+
# Animați un avion (CSS)
66

7-
Show the animation like on the picture below (click the plane):
7+
Afișați animația ca în imaginea de mai jos (faceți clic pe avion):
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+
- Imaginea crește când faceți clic de la `40x24px` la `400x240px` (de 10 ori mai mare).
12+
- Animația durează 3 secunde.
13+
- La final arătați output: "Done!".
14+
- În timpul procesului de animație, pot exista mai multe click-uri pe avion. Acestea nu ar trebui să "strice" nimic.

0 commit comments

Comments
 (0)