bootstrap
bootstrap2系 <html lang="ja"> <head> <meta charset="utf-8"> <title>test</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/css/bootstrap.min.css" /> <link rel="stylesheet" href="/css/general.css" /> </link></link></meta></meta></head></html>
<div class="form-horizontal"> <form method="post" action=""> <div class="form-group"> <label for="lastname" class="col-xs-3 control-label">姓</label> <div class="col-md-3 col-xs-7"> <input type="text" class="form-control input-sm" name="lastname" id="lastname" placeholder="姓"> </div> </div> </form></div>