<h1>クリエイター川柳</h1>
<form method="" action="" class="senryu">
  <input type="text" name="一句" class="ikku">
  <input type="submit" value="詠む" class="yomu">
</form>
h1 {
  text-align: center;
}

form{
  width:300px; 
  margin: 0 auto;
  border: 1px solid #ccc;
  padding: 20px;
}

.ikku {
  height: 2em;
  width: 100%; 
  margin: 0 0 10px;
}

.yomu {
  margin: 0 auto;
  width: 50%;
  height: 2em;
  margin: 0 auto;
  display: block;
  color: #fff;
  border: none;
  background: #666;
  border-radius: 5px;
  font-size: 14px;
}

.yomu:hover {
  cursor:pointer;
  opacity: 0.7;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.