Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Make placeholders have the same positioning as control text in safari.
  • Loading branch information
劉明鑫 committed Mar 22, 2019
commit 93f3ace0c293142f622a5330167e8f913a6b109a
8 changes: 8 additions & 0 deletions normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down