사용자
flyant(비교)
| r1544 vs r1545 | ||
|---|---|---|
| 1 | 1 | {{{#!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 | ||
| 4 | 12 | .num-table {display:table;width:inherit;height:inherit} |
| 5 | 13 | .num-align {display:table-cell;text-align:center;vertical-align:middle} |
| 14 | .num-hide {display:none} | |
| 6 | 15 | }}} |
| 7 | 16 | |
| 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" | |
| 9 | 29 | {{{#!wiki class="num-table" |
| 10 | 30 | {{{#!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}}}}}}}}}}}} | |
| 12 | 39 | |
| 13 | 40 | |
| 14 | 41 | |
| 15 | 42 | |
| 43 | ||
| 44 | ||
| 16 | 45 | 수 입력 |
| 17 | 46 | 1. num1을 누름 |
| 18 | 47 | 2. 첫째 자리에 수가 나타남 |
| ... | ... |