| ▲ | cwmoore 12 hours ago | |
I am used to 0 and backspace, not too difficult to allow 0 key to clear a cell. Curious if you could let me know what code or images provide the backgrounds on your Kakuro, is it a CSS diagonal line, or a tile? What comes up if you run a quick:
Reminds me of mine! | ||
| ▲ | HaxleRose 10 hours ago | parent [-] | |
Good to know. Yeah, it's pretty easy to add 0, so I'll do that soon. For the kakuro backgrounds, it's pure CSS, no images. The diagonal split in the clue cells is a single linear-gradient hairline, not a tile or PNG: .kakuro-clue { background-image: linear-gradient(to top right, transparent calc(50% - 0.5px), rgb(148 163 184) calc(50% - 0.5px), rgb(148 163 184) calc(50% + 0.5px), transparent calc(50% + 0.5px)); } The site uses Tailwind CSS for the styling generally. | ||