diff --git a/exercise-1/styles.css b/exercise-1/styles.css index d40e73d..3ef8026 100644 --- a/exercise-1/styles.css +++ b/exercise-1/styles.css @@ -63,3 +63,57 @@ body { margin-right: auto; max-width: 56em; } + + + +/* i will add media queries only below for the devices with differnt screen + 600px, and 900px */ + +@media all and (max-width: 899px) and (min-width: 600px){ + + .grid__text { + grid-area: text; + padding-left: 150px; + } + + .wrapper { + margin: 10px; + } + +.box { + margin: var(--grid); + min-height: calc(4 * var(--grid)); + padding: var(--grid); + width: 80%; +} + + +.grid { + grid-template-areas: + "red text" + "black text"; /* for the column arrengments */ +} + +} + +@media screen and (min-width: 900px){ + + .grid { + display: grid; + grid-template-areas: + "black text red"; + + } + .box { + margin: var(--grid); + min-height: calc(4 * var(--grid)); + padding: var(--grid); + width: auto; + } + .grid__text { + grid-area: text; + padding-left: 30px; + } + + } + diff --git a/exercise-2/index.html b/exercise-2/index.html index cd39571..e5ffdb7 100644 --- a/exercise-2/index.html +++ b/exercise-2/index.html @@ -9,6 +9,21 @@
+ +
+ Contact: +32-xxxxx
+ +