There is a normal amount of text here, and there is even spacing around all sides.
diff --git a/exercise-1/styles.css b/exercise-1/styles.css index d40e73d..f96193a 100644 --- a/exercise-1/styles.css +++ b/exercise-1/styles.css @@ -63,3 +63,49 @@ body { margin-right: auto; max-width: 56em; } + + + +@media screen and (min-width: 600px){ + + + .grid__text { + grid-area: text; + padding-left: 150px; + + } + .wrapper { + margin-left: 10px; + margin-right: 10px; + } + +.box { + margin: var(--grid); + min-height: calc(4 * var(--grid)); + padding: var(--grid); + width: 80%; +} + + +.grid { + grid-template-areas: + "red text" + "black text"; +} + +} + +@media screen and (min-width: 900px){ + + .grid { + display: grid; + grid-template-areas: + "black text red"; + + } + .box { + margin-top: var(--grid); + min-height: calc(4 * var(--grid)); + } + + } \ No newline at end of file diff --git a/exercise-2/index.html b/exercise-2/index.html index cd39571..37ad7d1 100644 --- a/exercise-2/index.html +++ b/exercise-2/index.html @@ -9,6 +9,51 @@
+ +There is a normal amount of text here, and there is even spacing around all sides.
There is a text here
There is a normal amount of text here, and there is even spacing around all sides. + + There is less text here. + + There is a little too much text here. This should have been caught or edited down by the copywriter but, hey, here we are, and this has to go live today. Gotta do our best! + + Neat! A line break!