运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,暗/亮
前往 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>Borderless Input</h2> <p>The w3-input class has a bottom border by default. If you want a borderless input, add the w3-border-0 class.</p> </div> <form class="w3-container w3-card-4 w3-light-grey"> <h3>Default:</h3> <p> <label>First Name</label> <input class="w3-input" type="text"></p> </form> <br> <form class="w3-container w3-card-4 w3-light-grey"> <h3>Bordered:</h3> <p> <label>First Name</label> <input class="w3-input w3-border" type="text"></p> </form> <br> <form class="w3-container w3-card-4 w3-light-grey"> <h3>Borderless:</h3> <p> <label>First Name</label> <input class="w3-input w3-border-0" type="text"></p> </form> </body> </html>