ValueEdit
by Jimmy Ng
HTML
<!-- Learn about this code on MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio -->
body {
padding: 15px;
}
<form>
Please specify your gender:
<div>
<input type="radio" id="genderChoice1"
name="gender" value="male">
<label for="genderChoice1">Male</label>
<input type="radio" id="genderChoice2"
name="gender" value="female">
<label for="genderChoice2">Female</label>
<input type="radio" id="genderChoice3"
name="gender" value="other">
<label for="genderChoice3">Other</label>
<input type="radio" id="genderChoice4"
name="gender" value="notSpecified">
<label for="genderChoice4">Prefer not to specify</label>
</div>
<div>
<button type="submit">Submit</button>
</div>
</form>
CSS
* {
outline: none;
}
body {
padding: 15px;
}
* {
font: 16px "pf_dindisplay_proregular";
color: #505962;
}
h1 {
font: 30px "pf_dindisplay_probold";
margin: 20px 0;
}
hr {
margin: 15px 0;
}
input {
padding: 7px;
width: 400px;
}
select {
padding: 8px;
width: 350px;
}
.actions a {
display: inline-block;
padding: 0;
padding: 0 20px;
line-height: 35px;
border-radius: 7px;
color: #fff;
border: 1px solid #38a1e9;
background: #38a1e9;
text-decoration: none;
text-transform: uppercase;
text-align: center;
margin-bottom: 10px;
}
.actions a:hover {
opacity: 0.8;
}
.sdk-script {
border: 1px solid #a9bac2;
background-color: #f4f5f5;
padding: 20px;
width: 550px;
height: 125px;
font: 16px "pf_dindisplay_proregular";
resize: none;
}
.field {
margin-bottom: 10px;
}
.field .field-title {
font: 16px "pf_dindisplay_proregular";
line-height: 16px;
margin-bottom: 5px;
}
.field .field-title .optional {
font: 14px "pf_dindisplay_prolight_italic";
text-transform: lowercase;
}
.field .field-content input,
.field .field-content textarea {
width: 400px;
}
.field .field-content input[type='checkbox'] {
padding: 0;
width: 20px;
margin: 0;
}
.field .field-content textarea {
height: 150px;
padding: 7px;
}
.fields-group:before,
.fields-group:after {
content: " ";
display: table;
}
.fields-group:after {
clear: both;
}
.fields-group .field {
float: left;
margin-right: 10px;
}
.endPoint {
margin-bottom: 30px;
}
.endPoint .title {
margin-bottom: 10px;
text-decoration: none;
display: block;
}
.endPoint .title span {
font: 22px "pf_dindisplay_probold";
text-transform: uppercase;
}
.endPoint .title .handler {
font: 20px "pf_dindisplay_proregular";
text-transform: none;
}
.endPoint .description {
margin-bottom: 10px;
border: 1px solid #a9bac2;
background-color: #f4f5f5;
padding: 20px;
width: 900px;
}
.endPoint .sample {
margin-top: 10px;
}
.endPoint .sample a...