// media queries example
/* wide laptop */
@media screen and (max-width: 1200px) {
.home-hero-image {
height: 50vh;
}
}
/* small laptop */
@media screen and (max-width: 900px) {
.home-hero-image {
height: 60vh;
}
.hero-text-home {
margin-top: 25px;
}
.hero-school-home-image {
width: 40%;
}
}
/*Pro-tip: Use percentages while positioning or sizing elements
ex:*/
.example {
width:100%;
height:50%;
left: 10%;
}
Code Example |
---|
:: |
:: |
Css :: |
:: |
:: |
:: |
:: |
:: |
Css :: |
:: |
Css :: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
Css :: |
:: apollo fetchpolicy |
:: |
:: |
:: |
Typescript :: |
:: python requests header allow redirect false |
:: |
:: |
:: |