| 1 |
|
| 2 |
input[type=text], input[type=password], select, textarea { |
| 3 |
width: 100%; |
| 4 |
padding: 12px; |
| 5 |
border: 1px solid #ccc; |
| 6 |
border-radius: 4px; |
| 7 |
box-sizing: border-box; |
| 8 |
} |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
input[type=submit] { |
| 13 |
background-color: #4CAF50; |
| 14 |
color: white; |
| 15 |
padding: 12px 20px; |
| 16 |
border: none; |
| 17 |
border-radius: 4px; |
| 18 |
cursor: pointer; |
| 19 |
float: left; |
| 20 |
} |
| 21 |
|
| 22 |
|
| 23 |
.container { |
| 24 |
border-radius: 5px; |
| 25 |
background-color: #f2f2f2; |
| 26 |
padding: 20px; |
| 27 |
} |
| 28 |
|
| 29 |
|
| 30 |
.col-25 { |
| 31 |
float: left; |
| 32 |
width: 25%; |
| 33 |
margin-top: 6px; |
| 34 |
} |
| 35 |
|
| 36 |
|
| 37 |
.col-50 { |
| 38 |
float: left; |
| 39 |
width: 50%; |
| 40 |
margin-top: 6px; |
| 41 |
} |
| 42 |
|
| 43 |
|
| 44 |
.col-75 { |
| 45 |
float: left; |
| 46 |
width: 75%; |
| 47 |
margin-top: 6px; |
| 48 |
} |
| 49 |
|
| 50 |
|
| 51 |
.row:after { |
| 52 |
content: ""; |
| 53 |
display: table; |
| 54 |
clear: both; |
| 55 |
} |
| 56 |
|
| 57 |
|
| 58 |
@media screen and (max-width: 800px) { |
| 59 |
.col-25, col-50, .col-75, input[type=submit] { |
| 60 |
width: 100%; |
| 61 |
margin-top: 0; |
| 62 |
} |
| 63 |
} |