responsive-forms/styles.css

45 lines
458 B
CSS
Raw Permalink Normal View History

2015-10-20 22:10:07 +00:00
/* Resets */
form,
label,
input {
margin: 0;
padding: 0;
}
/* HTML */
form {
border: solid 1px #ccc;
border-radius: 12px;
padding: 10px;
margin: 10px auto;
width: 500px;
}
label {
float: left;
text-align: right;
width: 190px;
clear: both;
}
input {
float: right;
text-align: left;
width: 300px;
margin-bottom: 3px;
}
input[type=number] {
width: 65px;
float: left;
margin-left: 6px;
}
/* Special Sections */
.clear {
clear: both;
}