<article>
Lorem ipsum ...
</article>
/* Using clamp -------------------------- */
article {
width: clamp(200px, 50%, 800px);
}
/* Using media queries ------------------ */
/* Default */
article {
width: 50%;
}
/* Small screens */
@media only screen and (max-width: 600px) {
article {
width: 200px;
}
}
/* Large screens */
@media only screen and (min-width: 1200px) {
article {
width: 800px;
}
}
Code Example |
---|
Css :: css active button |
Css :: fortnite pc size 2022 |
Css :: overlap section |
Css :: button in css |
Css :: how to see applications installed by wine cmd |
Css :: interfaces in golang |
Css :: chrome extension css |
Css :: boxsizing |
Css :: margin shorthand css |
Css :: outline offset css |
Css :: Responsive Web Design - Media Queries |
Css :: css drop down |
Css :: whats display block |
Css :: horizontal scroll bar |
Css :: display flex vertical align center css |
Css :: id selector css |
Css :: wrap css grid |
Css :: enque script only on specific archive page |
Css :: html css text color invert on image |
Css :: combine text styles |
Css :: elementsone after other css |
Css :: qa vs q! |
Css :: faunadb q.do |
Css :: css convert td to tr |
Css :: html css psd |
Css :: terminal download website source code |
Css :: CSS REsize Wordpress Dropdowns Automatically |
Css :: como dibujar un cuadro en css |
Css :: how to view only downloading speed in du meter |
Css :: ignore default css for react Link |