提示我錯誤,是因為什么
<style type="text/css">
??? p {
??????? color:red !important;
??? }
??? p.first {
??????? color: green;
??? }
??? </style>
<style type="text/css">
??? p {
??????? color:red !important;
??? }
??? p.first {
??????? color: green;
??? }
??? </style>
2023-04-07
舉報
2023-07-06
? ? p {
? ? ? ? color: red;
? ? }
? ? p{
? ? ? ? color:red!important;
? ? }
? ? p.first {
? ? ? ? color: green;
? ? }
你這樣寫試一下
2023-04-10
p.first順序錯了,把類和p標簽換個位置,不醒的話就直接用類,給類定義就好。.first{}?;蛘咴趐和.之間打個空格試下