Commit 967cc712 by Siyam Kumar

grid3

parent dd7cf346
...@@ -18,7 +18,7 @@ header>img { ...@@ -18,7 +18,7 @@ header>img {
text-transform: uppercase; text-transform: uppercase;
} }
.part2{ .part2 {
display: grid; display: grid;
} }
...@@ -103,27 +103,23 @@ hr { ...@@ -103,27 +103,23 @@ hr {
} }
@media screen and (min-width: 780px) { @media screen and (min-width: 780px) {
.grid-container {
display: grid;
grid-template-columns: auto auto auto;
}
.grid-container>div { .grid-container>div {
width: 100%;
height: 50vh; height: 50vh;
overflow: hidden; overflow: hidden;
} }
} }
@media screen and (min-width: 992px) { @media screen and (min-width: 992px) {
.grid-container {
grid-template-columns: 33.3% 33.3% 33.3%;
}
.grid-container>div { .grid-container>div {
display: flex; display: grid;
min-height: 50px; grid-template-columns: 50% 50%;
padding: 5%; min-height: 50vh;
overflow: hidden; overflow: hidden;
align-items: center; align-items: center;
justify-content: space-between;
} }
header { header {
...@@ -136,15 +132,7 @@ hr { ...@@ -136,15 +132,7 @@ hr {
.mainimage { .mainimage {
max-width: 100%; max-width: 100%;
max-height: 300px; max-height: 280px;
}
.part1 {
min-width: 300px;
}
.part2{
max-width: fit-content;
} }
.grid-container h4 { .grid-container h4 {
...@@ -168,13 +156,13 @@ hr { ...@@ -168,13 +156,13 @@ hr {
@media screen and (min-width: 2040px) { @media screen and (min-width: 2040px) {
.mainimage { .mainimage {
min-height:350px ; min-height: 350px;
} }
} }
@media screen and (min-width: 2380px) { @media screen and (min-width: 2380px) {
.grid-container >div { .grid-container>div {
padding-left: 100px; padding-left: 100px;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment