运行结果尺寸: 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">
  <h2>Deep Purple Color</h2>
  <div class="w3-container w3-deep-purple">
    <p>Deep Purple container</p>
  </div>
  <p class="w3-deep-purple">Deep Purple paragraph</p>
  <button class="w3-btn w3-deep-purple">Deep Purple Button</button>
</div>
</body>
</html>
×

报个问题: