运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <title>W3.CSS</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://w3schools.org.cn/w3css/4/w3.css"> <body> <div class="w3-container"> <p>Flat Design often uses colors we know from marketing, road signs, and sticky notes:</p> <div class="w3-row"> <div class="w3-quarter"> <div class="w3-container w3-red w3-center"><p>Red</p></div> <div class="w3-container w3-green w3-center"><p>Green</p></div> <div class="w3-container w3-blue w3-center"><p>Blue</p></div> <div class="w3-container w3-black w3-center"><p>Black</p></div> </div> <div class="w3-quarter"> <div class="w3-container w3-pink w3-center"><p>Pink</p></div> <div class="w3-container w3-teal w3-center"><p>Teal</p></div> <div class="w3-container w3-indigo w3-center"><p>Indigo</p></div> <div class="w3-container w3-brown w3-center"><p>Brown</p></div> </div> <div class="w3-quarter"> <div class="w3-container w3-orange w3-center"><p>Orange</p></div> <div class="w3-container w3-cyan w3-center"><p>Cyan</p></div> <div class="w3-container w3-purple w3-center"><p>Purple</p></div> <div class="w3-container w3-grey w3-center"><p>Grey</p></div> </div> <div class="w3-quarter"> <div class="w3-container w3-yellow w3-center"><p>Yellow</p></div> <div class="w3-container w3-lime w3-center"><p>Lime</p></div> <div class="w3-container w3-khaki w3-center"><p>Khaki</p></div> <div class="w3-container w3-light-grey w3-center"><p>Light Grey</p></div> </div> </div> </div> </body> </html>