Skip to content

Commit 0bd527b

Browse files
committed
lesson 4-2: align items and direction
1 parent 0f51f31 commit 0bd527b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed
+7-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
.gallery {
22
display: flex;
33
gap: 1rem;
4-
flex-direction: row-reverse;
5-
justify-content: end;
4+
flex-direction: column;
5+
direction: rtl;
6+
align-items: self-end;
7+
8+
.card:nth-child(2) {
9+
direction: ltr;
10+
}
611
}

0 commit comments

Comments
 (0)