<style>
@media screen and(min-width:480px){
body{background:blue}
}
</style>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="./index.css" media="only screen and (max-width:480px)"/>
<style type="text/css">
@media screen and (min-width: 480px) {
body {background: blue;}
}
</style>
</head>
<body>
</body>
</html>
为什么我的没变化呢
为什么空一格好了,这么严格
你的代码,and后空一格试试