media查詢
當螢幕寬度滿足特定條件時應用css。
例如:
@media(min-width: 768px) {
.container {
width: 960px;
background-color: lightblue;
}
}
media查詢
當螢幕寬度滿足特定條件時應用css。
例如:
@media(min-width: 768px) {
.container {
width: 960px;
background-color: lightblue;
}
}