From 93f3ace0c293142f622a5330167e8f913a6b109a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8A=89=E6=98=8E=E9=91=AB?= Date: Fri, 22 Mar 2019 13:15:45 +0800 Subject: [PATCH] Make placeholders have the same positioning as control text in safari. --- normalize.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/normalize.css b/normalize.css index 192eb9ce4..de7484c87 100644 --- a/normalize.css +++ b/normalize.css @@ -168,6 +168,14 @@ textarea { margin: 0; /* 2 */ } +/** + * Make placeholders have the same positioning as control text in safari. + */ + +::placeholder { + line-height: normal; +} + /** * Show the overflow in IE. * 1. Show the overflow in Edge.