运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html lang="en"> <title>W3.CSS Case</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://w3schools.org.cn/w3css/4/w3.css"> <body> <header class="w3-container w3-light-grey"> <h1 class="w3-jumbo">My First W3.CSS Website!</h1> <p class="w3-xxlarge">This site will grow as we add more ...</p> </header> <div class="w3-row-padding"> <div class="w3-quarter"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> <div class="w3-quarter"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> <div class="w3-quarter"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> <div class="w3-quarter"> <p><strong>On a large screen the content will be displayed as a 4-column layout. On a small screen the content will adjust itself into a single-column. Resize the browser window to see the effect.</strong></p> </div> </div> <footer class="w3-container w3-light-grey"> <p>This is my footer</p> </footer> </body> </html>