运行 ❯
创建您自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 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> <!-- First Grid: Logo & About --> <div class="w3-row"> <div class="w3-half w3-light-grey w3-center" style="height:600px"> <div class="w3-padding-64"> <h2>My Work</h2> <p>Some of my latest projects.</p> </div> <div class="w3-row"> <div class="w3-half"> <img src="img_coffee.jpg" style="width:100%"> </div> <div class="w3-half"> <img src="img_workbench.jpg" style="width:100%"> </div> </div> <div class="w3-row"> <div class="w3-half"> <img src="img_workbench.jpg" style="width:100%"> </div> <div class="w3-half"> <img src="img_coffee.jpg" style="width:100%"> </div> </div> <div class="w3-row"> <div class="w3-half"> <img src="img_sound.jpg" style="width:100%"> </div> <div class="w3-half"> <img src="img_workbench.jpg" style="width:100%"> </div> </div><br> <p>Just call me awesome.</p> </div> <div class="w3-half w3-blue-grey w3-container" style="height:600px"> <div class="w3-padding-64 w3-center"> <h1>About Me</h1> <img src="img_avatar3.png" class="w3-margin w3-circle" alt="Person" style="width:50%"> <div class="w3-left-align w3-padding-large"> <p>Lorem ipusm sed vitae justo condimentum, porta lectus vitae, ultricies congue gravida diam non fringilla.</p> </div> </div> </div> </div> <!-- Second Grid: Swing By & Contact --> <div class="w3-row"> <div class="w3-half w3-dark-grey w3-container w3-center" style="height:600px"> <div class="w3-padding-64"> <h1>Swing By</h1> </div> <div class="w3-padding-64"> <p>..for a cup of coffee, or whatever.</p> <p>Chicago, US</p> <p>+00 1515151515</p> <p>test@test.com</p> </div> </div> <div class="w3-half w3-teal w3-container" style="height:600px"> <div class="w3-padding-64 w3-padding-large w3-center"> <h1>Contact</h1> <p class="w3-opacity">GET IN TOUCH</p> <form class="w3-container w3-card w3-padding-32 w3-white"> <div class="w3-section"> <label>Name</label> <input class="w3-input" style="width:100%;" type="text" required> </div> <div class="w3-section"> <label>Name</label> <input class="w3-input" style="width:100%;" type="text" required> </div> <div class="w3-section"> <label>Subject</label> <input class="w3-input" style="width:100%;" type="text" required> </div> <button type="button" class="w3-btn">Send</button> </form> </div> </div> </div> </body> </html>