Skip to content

Commit 2afb2ea

Browse files
committed
Improve nambia
1 parent 627667a commit 2afb2ea

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

bootcamp_content/projects/positioned-patterns/exercises/positioned-namibia/example.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
left: -20%;
88
display: grid;
99
transform: rotate(-35deg);
10-
grid-template-rows: 40% 3% 14% 3% 40%;
10+
grid-template-rows: 40% 1fr 15% 1fr 40%;
1111

1212
.blue {
1313
background: #002f6c;

bootcamp_content/projects/positioned-patterns/exercises/positioned-namibia/introduction.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ Behind the scenes we've added some CSS so that your outermost element will fill
1919

2020
For the stripes:
2121

22-
- The target implementation uses `%` divisible by 10 for all the positioning (e.g. any widths, heights, tops, lefts, etc) with two exceptions - the width of the stripes, and the rotation - which are whole number % but not all divisible by 10.
22+
- The target implementation uses `%` divisible by 10 for all the positioning (e.g. any widths, heights, tops, lefts, etc) with two exceptions:
23+
- The width of the stripes, which is a mix of `%` (in 5% increments) and either `fr` or `flex-grow`
24+
- The rotation, which is a `%` divisible by 5.
2325
- The blue is `#002f6c`, the red is `#c8102e`, the green is `#009a44` and the gold is `#ffcd00`
2426

2527
### The Emblem

0 commit comments

Comments
 (0)