Skip to content

Commit 2a8aa6a

Browse files
updating sizing on flexbox examples
1 parent 9a5ecd7 commit 2a8aa6a

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

flexbox/basics/flex-shorthands.html

+12-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
}
1414

1515
textarea {
16-
height: 160px;
16+
display: block;
17+
margin-bottom: 10px;
1718
background-color: #F4F7F8;
1819
border: none;
1920
border-left: 6px solid #558ABB;
@@ -24,6 +25,14 @@
2425
font-size: 90%;
2526
}
2627

28+
textarea:nth-of-type(1) {
29+
height: 120px
30+
}
31+
32+
textarea:nth-of-type(2) {
33+
height: 90px
34+
}
35+
2736
.playable-buttons {
2837
text-align: right;
2938
width: 90%;
@@ -82,7 +91,7 @@
8291
.box {
8392
display: flex;
8493
}
85-
94+
8695
.box>* {
8796
flex: 1;
8897
}
@@ -123,4 +132,4 @@
123132
window.addEventListener('load', fillCode);
124133
</script>
125134

126-
</html>
135+
</html>

0 commit comments

Comments
 (0)