Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

London9-Oleh_Pysmenko-HTML-CSS-Coursework-Week3 #412

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
feat: adding changes from commments of Dario
  • Loading branch information
Nataliia Pysmenko committed Nov 10, 2022
commit eb50343c2360a41bb4b5126d2fd605bcfa2c202f
11 changes: 5 additions & 6 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ body {
}
.oleh {
text-align: center;
grid-column: 1 / span 3;
}
/*
Now let's change it for larger screens
Expand All @@ -111,9 +112,6 @@ body {
/*
We only define rules which are DIFFERENT from the mobile version defined above.
*/
.one-one{
display: none;
}
.grid-item1 {
grid-area: product-item1;
}
Expand All @@ -131,13 +129,13 @@ body {
.homepage-products {
grid-area: product;
display: grid;

grid-template-columns: repeat(3, 1fr);
justify-content: space-around;
grid-template-columns: repeat(3, 6rem);
grid-template-areas:
"product-item1 product-item2 product-item3" ; /* one for each column */
}

.contact {
.contacts {
grid-area: contact;
text-align: center;
}
Expand Down Expand Up @@ -171,6 +169,7 @@ body {
"product product product product"
"footer footer footer footer";
}


/*
We don't need to re-define the grid-area for each block because these haven't changed. The hero is still the hero, the feature is still the feature etc.
Expand Down