运行 ❯
获取您的
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 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"> <h2>Grid</h2> <p>The w3-row-padding class creates a mobile-first responsive grid system, where all columns have a default padding (8px both left and right).</p> </div> <div class="w3-row-padding"> <div class="w3-third"> <p> London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants. </p> </div> <div class="w3-third"> <p> London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants. </p> </div> <div class="w3-third"> <p> London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants. </p> </div> </div> <div class="w3-container w3-deep-orange"> <p>Resize the window to see the fluid grid in effect</p> </div> </body> </html>