forked from syncfusion/blazor-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRadioButton.razor
More file actions
55 lines (47 loc) · 1.39 KB
/
RadioButton.razor
File metadata and controls
55 lines (47 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
@page "/Buttons/RadioButton"
@using Syncfusion.EJ2.Blazor.Buttons
@inherits SampleBaseComponent;
<div class="control-section">
<div class="radio-control">
<h4 class="row">Select a payment method</h4>
<div class="row">
<EjsRadioButton Label="Credit/Debit Card" Name="payment" Value="credit/debit" Checked="true"></EjsRadioButton>
</div>
<div class="row">
<EjsRadioButton Label="Net Banking" Name="payment" Value="netbanking"></EjsRadioButton>
</div>
<div class="row">
<EjsRadioButton Label="Cash on Delivery" Name="payment" Value="cashondelivery"></EjsRadioButton>
</div>
<div class="row">
<EjsRadioButton Label="Other Wallets" Name="payment" Value="others"></EjsRadioButton>
</div>
</div>
</div>
<style>
.radio-control {
margin: 5% 0 5% 40%;
}
@@media only screen and (max-width: 700px) {
.radio-control {
margin-left: 35%;
margin-top: 8%;
}
.control-section {
min-height: 200px;
}
}
@@media only screen and (max-width: 500px) {
.radio-control {
margin-top: 20%;
margin-left: 21%;
margin-bottom: 27%;
}
}
.control-section .row {
margin: 20px 0;
}
.e-bigger .radio-control h4 {
font-size: 20px;
}
</style>