forked from syncfusion/blazor-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CheckBox.razor
51 lines (42 loc) · 1.14 KB
/
CheckBox.razor
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
@page "/Buttons/CheckBox"
@using Syncfusion.EJ2.Blazor.Buttons
@inherits SampleBaseComponent;
<div class="control-section">
<div class="checkbox-control">
<div class="row">
<EjsCheckBox Checked="true" Label="CheckBox"></EjsCheckBox>
</div>
<div class="row">
<EjsCheckBox Disabled="true" Checked="true" Label="Checked, Disabled"></EjsCheckBox>
</div>
<div class="row">
<EjsCheckBox Indeterminate="true" Disabled="true" Label="Indeterminate, Disabled"></EjsCheckBox>
</div>
</div>
</div>
<style>
.checkbox-control {
margin: 12% 0 12% 40%;
}
@@media only screen and (max-width: 700px) {
.checkbox-control {
margin: 20% 0 0 32%;
}
.control-section {
min-height: 200px;
}
}
@@media only screen and (max-width: 500px) {
.control-section {
min-height: 200px;
}
.checkbox-control {
margin-top: 27%;
margin-left: 20%;
margin-bottom: 27%;
}
}
.control-section .row {
margin: 20px 0;
}
</style>