运行结果尺寸: 300 x 150
x
 
<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.cn/w3css/4/w3.css">
<body>
<div class="w3-container w3-xlarge">
  <h1>悬停文本</h1>
 
  <a href="#" class="w3-hover-text-yellow">悬停</a>
  <p class="w3-hover-text-yellow">悬停</p>
  <div class="w3-panel w3-border w3-black w3-hover-text-yellow"> 
  <p><b>悬停</b></p>
  </div>
  <button class="w3-btn w3-border w3-hover-text-yellow">悬停</button>
</div>
</body>
</html>
×

报个问题: