코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>CSS Forms</title> <style> input { width: 100%; padding: 10px 20px; margin: 5px 0; box-sizing: border-box; } </style> </head> <body> <h1>input 요소의 크기 설정</h1> <form> 사용자 : <br> <input type="text" name="username"><br> 비밀번호 : <br> <input type="password" name="password"> </form> </body> </html>