展示

css media query range

代码

CSS代码:

.container {
    font-size: 24px;
}
@media ( 300px<= width <= 800px) {
    .container {
        color: red;
        font-size: 14px;
    }
}

HTML代码:

<div  class="container">
    css media query range
</div>