diff --git a/core/themes/stable/css/core/dialog/off-canvas.reset.css b/core/themes/stable/css/core/dialog/off-canvas.reset.css
index 099317d4fab41768feac2863e16c7cb642f64d1a..802fbe31fe194f637119a04584e2deae84537a8e 100644
--- a/core/themes/stable/css/core/dialog/off-canvas.reset.css
+++ b/core/themes/stable/css/core/dialog/off-canvas.reset.css
@@ -624,8 +624,8 @@
   box-shadow: none;
 }
 
-#drupal-off-canvas input:placeholder,
-#drupal-off-canvas textarea:placeholder {
+#drupal-off-canvas input::placeholder,
+#drupal-off-canvas textarea::placeholder {
   color: gray;
 }
 
diff --git a/core/themes/stable/css/core/dialog/off-canvas.reset.pcss.css b/core/themes/stable/css/core/dialog/off-canvas.reset.pcss.css
index a4f71d5af4b398eec5e6bb4a7dbaccc3b7b40f67..4404f950d8467a07e8c388c9888ab82ffeddbfa4 100644
--- a/core/themes/stable/css/core/dialog/off-canvas.reset.pcss.css
+++ b/core/themes/stable/css/core/dialog/off-canvas.reset.pcss.css
@@ -425,8 +425,8 @@
   user-select: none;
   box-shadow: none;
 }
-#drupal-off-canvas input:placeholder,
-#drupal-off-canvas textarea:placeholder {
+#drupal-off-canvas input::placeholder,
+#drupal-off-canvas textarea::placeholder {
   color: gray;
 }
 #drupal-off-canvas textarea,