set the opacity of the placeholder text for an input field to make it consistent
authorDan Allen <dan@opendevise.com>
Thu, 31 Mar 2022 08:23:03 +0000 (02:23 -0600)
committerDan Allen <dan@opendevise.com>
Thu, 31 Mar 2022 08:23:21 +0000 (02:23 -0600)
src/css/base.css

index a10201b..b0d16ee 100644 (file)
@@ -103,6 +103,10 @@ object[type="image/svg+xml"]:not([width]) {
   width: fit-content;
 }
 
+::placeholder {
+  opacity: 0.5;
+}
+
 @supports (scrollbar-width: thin) {
   body * {
     scrollbar-width: thin;