You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: games/sudoku_tiles/index.html
+23-12Lines changed: 23 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -92,20 +92,27 @@
92
92
position: relative;
93
93
}
94
94
95
-
.tile.locked::after {
95
+
.tile.given::after {
96
96
content:'';
97
97
position: absolute;
98
98
top:50%;
99
99
left:50%;
100
100
transform:translate(-50%,-50%);
101
-
width:25%;
102
-
height:25%;
103
-
min-width:4px;
104
-
min-height:4px;
105
-
background:#000;
101
+
width:20%;
102
+
height:20%;
103
+
min-width:3px;
104
+
min-height:3px;
105
+
background:#787878;
106
106
border-radius:50%;
107
107
}
108
108
109
+
.key-btn.locked {
110
+
opacity:0.35;
111
+
filter:grayscale(0.6);
112
+
cursor: default;
113
+
pointer-events: none;
114
+
}
115
+
109
116
.keyboard {
110
117
display: flex;
111
118
align-items: center;
@@ -243,7 +250,7 @@ <h1>Sudoku Tiles</h1>
243
250
244
251
<footerclass="footer">
245
252
<pclass="footer-instructions">
246
-
Tap a color or X to select, then tap a cell to place or delete. When all 9 tiles of a color are correct, they lock (black dot).
253
+
Tap a color or X to select, then tap a cell to place or delete. Starting tiles have a gray dot. When all 9 tiles of a color are correct, that color grays out in the keyboard.
247
254
</p>
248
255
<p><ahref="../../justforfun.html">Return to Dan Ames Just for Fun Page</a></p>
0 commit comments