Remove appearance from textarea (#29455)
This commit is contained in:
parent
707973ebdd
commit
de8c65158b
1 changed files with 0 additions and 2 deletions
|
|
@ -465,12 +465,10 @@ input[type="month"] {
|
||||||
|
|
||||||
// 1. Remove the default vertical scrollbar in IE.
|
// 1. Remove the default vertical scrollbar in IE.
|
||||||
// 2. Textareas should really only resize vertically so they don't break their (horizontal) containers.
|
// 2. Textareas should really only resize vertically so they don't break their (horizontal) containers.
|
||||||
// 3. Use the same borders as textfields
|
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
overflow: auto; // 1
|
overflow: auto; // 1
|
||||||
resize: vertical; // 2
|
resize: vertical; // 2
|
||||||
-webkit-appearance: textfield; // 3
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 1. Browsers set a default `min-width: min-content;` on fieldsets,
|
// 1. Browsers set a default `min-width: min-content;` on fieldsets,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue