Skip to content

Commit

Permalink
fix responsive on header when width <= 767px
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinNguyen2909 committed May 12, 2019
1 parent 75974b9 commit 36bc80c
Showing 1 changed file with 45 additions and 20 deletions.
65 changes: 45 additions & 20 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ a:hover {
background-color: #189090;
}


/* Rescued section style and What is a platypus*/

.row {
Expand All @@ -377,76 +378,100 @@ a:hover {
}

@media (min-width: 576px) and (max-width: 767.98px) {
#div-mobile { display: block; }
#div-tablet { display: none; }
#div-desktop { display: none; }
#div-mobile {
display: block;
}
#div-tablet {
display: none;
}
#div-desktop {
display: none;
}
.column {
flex: 100%;
max-width: 100%;
}
#animal-icon{
#animal-icon {
width: 75px;
height: 75px;
}
#equation-icon{
#equation-icon {
width: 50px;
height: 50px;
}
header {
min-height: 700px;
}
}

@media (min-width: 768px) and (max-width: 991.98px) {
#div-mobile { display: block; }
#div-tablet { display: block; }
#div-desktop { display: none; }
#div-mobile {
display: block;
}
#div-tablet {
display: block;
}
#div-desktop {
display: none;
}
.column {
flex: 50%;
max-width: 100%;
}
#animal-icon{
#animal-icon {
width: 125px;
height: 125px;
}
#equation-icon{
#equation-icon {
width: 90px;
height: 90px;
}
}

@media (min-width: 992px) {
#div-mobile { display: block; }
#div-tablet { display: block; }
#div-desktop { display: block; }
#div-mobile {
display: block;
}
#div-tablet {
display: block;
}
#div-desktop {
display: block;
}
.column {
flex: 100%;
max-width: 33.33%;
}
#animal-icon{
#animal-icon {
width: 200px;
height: 200px;
}
#equation-icon{
#equation-icon {
width: 150px;
height: 150px;
}
}

@media (max-width: 576px) {
#animal-icon{
#animal-icon {
width: 75px;
height: 75px;
}
#equation-icon{
#equation-icon {
width: 50px;
height: 50px;
}
}
.m-3{

.m-3 {
margin: 0rem!important;
}
.m-3{

.m-3 {
margin: 3px!important;
}


/* footer style */

footer .container {
Expand Down Expand Up @@ -526,4 +551,4 @@ s
font-weight: 400;
color: #D86000;
border-color: #D86000;
} */
} */

0 comments on commit 36bc80c

Please sign in to comment.