]> git.ardis.lu - block-hash-calculator/commitdiff
Hide placeholder text in print
authorArdis Lu <ardisglu@gmail.com>
Tue, 12 Aug 2025 06:00:38 +0000 (23:00 -0700)
committerArdis Lu <ardisglu@gmail.com>
Tue, 12 Aug 2025 06:00:38 +0000 (23:00 -0700)
Grayscale is difficult to distinguish in black and white print (the placeholder can be confused for actual user input), so just remove it because the label is sufficient.

print.css

index 11d4cba8e44b4846629211e3f0c28e2ce7d11ddc..fc703462072a6dab72bcc66511862a726ea337ff 100644 (file)
--- a/print.css
+++ b/print.css
@@ -49,4 +49,8 @@ input::-webkit-inner-spin-button {
 
 input {
   -moz-appearance: textfield;
+}
+
+input::placeholder {
+  opacity: 0;
 }
\ No newline at end of file
This page took 0.038148 seconds and 4 git commands to generate.