2021-09-08 13:21:22 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<style>
|
|
|
|
.block
|
|
|
|
{
|
|
|
|
position:relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
background:lightgrey;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
.block > *{ margin:10px 5px 10px 5px; }
|
|
|
|
.block > *:first-child{ margin-left:10px; }
|
|
|
|
.block > *:last-child{ margin-right:10px; }
|
|
|
|
|
|
|
|
.style--wide
|
|
|
|
{
|
|
|
|
width:100%;
|
|
|
|
}
|
2021-09-08 14:05:57 -04:00
|
|
|
label
|
|
|
|
{
|
|
|
|
width:100%;
|
|
|
|
}
|
|
|
|
input[type='radio']
|
|
|
|
{
|
|
|
|
display:block;
|
|
|
|
position:relative;
|
|
|
|
appearance: none;
|
|
|
|
}
|
|
|
|
input[type='radio']::before
|
|
|
|
{
|
|
|
|
content: " ";
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
width: 17px;
|
|
|
|
height: 17px;
|
|
|
|
border: 2px solid #000;
|
|
|
|
border-radius: 20px;
|
|
|
|
}
|
|
|
|
input[type='radio']:checked::after
|
|
|
|
{
|
|
|
|
content: " ";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
width: 11px;
|
|
|
|
height: 11px;
|
|
|
|
top: 5px;
|
|
|
|
left: 5px;
|
|
|
|
border-radius: 20px;
|
|
|
|
background: #000;
|
|
|
|
}
|
2021-09-08 13:21:22 -04:00
|
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<form>
|
2021-09-08 14:05:57 -04:00
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
<input id="check-1" type="radio" name="slot-1" value="option-1"/>
|
|
|
|
<label for="check-1">
|
|
|
|
<span class="text text--weight-bold text--size-normal">Credit Card</span>
|
|
|
|
<span class="text--two"></span>
|
|
|
|
</label>
|
|
|
|
<a class="style--axuillary" href="/">Change</a>
|
|
|
|
</div>
|
|
|
|
|
2021-09-08 13:21:22 -04:00
|
|
|
<div class="block">
|
|
|
|
<div class="icon--radio"></div>
|
|
|
|
<div class="style--wide">
|
2021-09-08 14:05:57 -04:00
|
|
|
<label for="check-2">Credit Card <input id="check-2" type="radio" name="slot-1" value="option-2"/></label>
|
2021-09-08 13:21:22 -04:00
|
|
|
<br>
|
|
|
|
<span>Check it</span>
|
|
|
|
</div>
|
|
|
|
<a class="style--axuillary" href="/">Change</a>
|
|
|
|
</div>
|
2021-09-08 14:05:57 -04:00
|
|
|
|
2021-09-08 13:21:22 -04:00
|
|
|
<div class="block">
|
2021-09-08 14:05:57 -04:00
|
|
|
<input id="check-3" type="radio" name="slot-1" value="option-3"/>
|
2021-09-08 13:21:22 -04:00
|
|
|
<p style="width:100%;">
|
2021-09-08 14:05:57 -04:00
|
|
|
<label for="check-3">Credit Card</label>
|
2021-09-08 13:21:22 -04:00
|
|
|
<br>
|
|
|
|
<span>Check it</span>
|
|
|
|
</p>
|
|
|
|
<a class="" href="/">Change</a>
|
|
|
|
</div>
|
2021-09-08 14:05:57 -04:00
|
|
|
|
2021-09-08 13:21:22 -04:00
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|