diff --git a/01/style.css b/01/style.css index faa3160d..f3e715be 100644 --- a/01/style.css +++ b/01/style.css @@ -20,4 +20,6 @@ border: 150px solid #dcdcdc; border-right-color: transparent; border-bottom-color: transparent; + + shape-outside: polygon( 30% 0%, 100% 0%, 0% 100%, 0% 0%); } \ No newline at end of file diff --git a/02/styles/global.css b/02/styles/global.css index a1c785e8..f13dcc5c 100644 --- a/02/styles/global.css +++ b/02/styles/global.css @@ -4,10 +4,10 @@ box-sizing: border-box; } + .a, .b, .c { border: 3px solid transparent; min-height: 50px; - display: flex; justify-content: center; align-items: center; @@ -23,4 +23,21 @@ .c { border-color: #baffc9; +} + + +@media(min-width: 600px) { + body { + display: grid; + max-width: 1200px; + margin: 0 auto; + grid-template-rows: 50% 1fr; + grid-template-columns: 50% 50%; + grid-template-areas: + "a a" + "c b"; +} + .a { grid-area: a; } + .b { grid-area: b; } + .c { grid-area: c; } } \ No newline at end of file diff --git a/03/images/fallback.jpg b/03/images/fallback.jpg new file mode 100644 index 00000000..1945c210 Binary files /dev/null and b/03/images/fallback.jpg differ diff --git a/03/images/img-1200x675.jpg b/03/images/img-1200x675.jpg new file mode 100644 index 00000000..b7dcfd8a Binary files /dev/null and b/03/images/img-1200x675.jpg differ diff --git a/03/images/img-2000x1125.jpg b/03/images/img-2000x1125.jpg new file mode 100644 index 00000000..feb20593 Binary files /dev/null and b/03/images/img-2000x1125.jpg differ diff --git a/03/images/img-600x338.jpg b/03/images/img-600x338.jpg new file mode 100644 index 00000000..f1159173 Binary files /dev/null and b/03/images/img-600x338.jpg differ diff --git a/03/index.html b/03/index.html index 4a2e35c2..93480899 100644 --- a/03/index.html +++ b/03/index.html @@ -4,13 +4,37 @@ + + + +
+