example/quick/counter.css
raw| 1 | body { |
| 2 | font-family: "Courier New", sans-serif; |
| 3 | text-align: center; |
| 4 | } |
| 5 | .buttons { |
| 6 | font-size: 4em; |
| 7 | display: flex; |
| 8 | justify-content: center; |
| 9 | } |
| 10 | .button, .value { |
| 11 | line-height: 1; |
| 12 | padding: 2rem; |
| 13 | margin: 2rem; |
| 14 | border: medium solid; |
| 15 | min-height: 1em; |
| 16 | min-width: 1em; |
| 17 | } |
| 18 | .button { |
| 19 | cursor: pointer; |
| 20 | user-select: none; |
| 21 | } |
| 22 | .minus { |
| 23 | color: red; |
| 24 | } |
| 25 | .plus { |
| 26 | color: green; |
| 27 | } |
| 28 | .value { |
| 29 | min-width: 2em; |
| 30 | } |
| 31 | .state { |
| 32 | font-size: 2em; |
| 33 | } |