HTML CSS examples for CSS Form:input button
Padding input and button
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .form,<!--from w w w .j a v a2 s. c o m--> button { font-size: 12px; border: 1px solid black; box-sizing: border-box; line-height:30px; padding-left:5px; } </style> </head> <body> <input type="text" class="form" placeholder="Text"> <button class="button">Click</button> </body> </html>