Commit 87288886 by Ajmal.S

update flex css

parent d0b79515
...@@ -14,7 +14,7 @@ hr { ...@@ -14,7 +14,7 @@ hr {
.info { .info {
text-align: left; text-align: left;
padding: 10% 0 10%; padding: 10% 0 10%;
width: 40%; width: 50%;
} }
.column { .column {
...@@ -57,10 +57,7 @@ figure { ...@@ -57,10 +57,7 @@ figure {
} }
figure img { figure img {
max-width: 100%;
width: 100%; width: 100%;
height: 25em;
object-fit: contain;
} }
/***** Flexbox Css *****/ /***** Flexbox Css *****/
...@@ -78,10 +75,6 @@ figure img { ...@@ -78,10 +75,6 @@ figure img {
float: left; float: left;
width: 30%; width: 30%;
} }
figure {
width: 50%;
}
} }
@media screen and (min-width: 768px) { @media screen and (min-width: 768px) {
...@@ -103,6 +96,12 @@ figure img { ...@@ -103,6 +96,12 @@ figure img {
min-height: 450px; min-height: 450px;
padding: 4%; padding: 4%;
} }
figure img {
height: 25em;
object-fit: contain;
}
} }
/***** End Flexbox Css *****/ /***** End Flexbox Css *****/
\ No newline at end of file
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