在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/HTML/ css span color樣式不生效

css span color樣式不生效

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    .activde span {
      color: red;
    }
  </style>
</head>

<body>
  <div class="actived">
    <span class="title">蛤蛤</span>
  </div>
</body>

</html>

代碼就這么一丟丟,想實(shí)現(xiàn)的效果就是span的顏色標(biāo)紅,必須把color屬性寫到span才行嗎?請問下有沒有什么其他解決方案呢

字母寫錯了。。。丟
感謝各位

回答
編輯回答
互擼娃

.activde span { <div class="actived"> 拼寫錯誤

2018年5月14日 11:29
編輯回答
近義詞

你寫在.active 上也一樣,顏色會繼承的

2018年4月19日 11:19