본문으로 건너뛰기
사용자

flyant(비교)

r1544 vs r1545
11
{{{#!style
2
.num-button {display:inline-block;margin:5px;width:40px;height:40px;border:1px solid red;background:#000;cursor:pointer}
3
.num-button:active {background:gray}
2
.num-button-0 {display:inline-block;margin:5px;width:40px;height:40px;border:1px solid red;background:#000;cursor:pointer}
3
.num-button-0:active {background:gray}
4
5
.num-button-1 {display:inline-block;margin:5px;width:40px;height:40px;border:1px solid green;background:#000;cursor:pointer}
6
.num-button-1:active {background:gray}
7
8
.num-0 {width:50px;height:80px;border:1px solid gray;background:conic-gradient(#fff 0%, #000 0)}
9
.num-1 {width:50px;height:80px;border:1px solid gray;background:conic-gradient(#fff 10%, #000 0)}
10
.num-2 {width:50px;height:80px;border:1px solid gray;background:conic-gradient(#fff 20%, #000 0)}
11
412
.num-table {display:table;width:inherit;height:inherit}
513
.num-align {display:table-cell;text-align:center;vertical-align:middle}
14
.num-hide {display:none}
615
}}}
716
8
{{{#!wiki class="num-button" onclick=""
17
{{{#!wiki class="num-0"
18
}}}
19
{{{#!wiki class="num-1"
20
}}}
21
{{{#!wiki class="num-2"
22
}}}
23
24
25
{{{#!if index1 = 0, index2 = 1
26
}}}
27
{{{#!wiki class="num-group-0"
28
{{{#!wiki class="num-button-0" onclick="add-class,num-group-0,num-hide;remove-class,num-group-1,num-hide"
929
{{{#!wiki class="num-table"
1030
{{{#!wiki class="num-align"
11
1}}}}}}}}}
31
1}}}}}}}}}}}}
32
{{{#!if ++index1, ++index2
33
}}}
34
{{{#!wiki class="num-group-1 num-hide"
35
{{{#!wiki class="num-button-1" onclick="add-class,num-group-1,num-hide;remove-class,num-group-2,num-hide"
36
{{{#!wiki class="num-table"
37
{{{#!wiki class="num-align"
38
1}}}}}}}}}}}}
1239
1340
1441
1542
43
44
1645
수 입력
1746
1. num1을 누름
1847
2. 첫째 자리에 수가 나타남
......