mirror of
https://github.com/kognise/water.css.git
synced 2026-01-05 04:45:45 +01:00
Fix textarea styles
This commit is contained in:
parent
3a5499f43b
commit
44b3210a4c
2 changed files with 14 additions and 3 deletions
|
|
@ -48,6 +48,7 @@
|
|||
Below I'm gonna put an <code><hr></code>, because why not?
|
||||
</p>
|
||||
<hr>
|
||||
<textarea>Hello from a textarea!</textarea>
|
||||
<form>
|
||||
<label for='email'>Email</label>
|
||||
<input type='email' name='email' id='email' placeholder='john.doe@gmail.com'>
|
||||
|
|
|
|||
16
water.css
16
water.css
|
|
@ -11,11 +11,14 @@ body {
|
|||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
button, input[type='submit'], input[type='button'], input[type='checkbox'] {
|
||||
button,
|
||||
input[type='submit'],
|
||||
input[type='button'],
|
||||
input[type='checkbox'] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
a, button, input {
|
||||
a, button, input, textarea {
|
||||
transition: background-color .1s linear,
|
||||
border-color .1s linear,
|
||||
color .1s linear,
|
||||
|
|
@ -75,7 +78,14 @@ input, select, button, textarea {
|
|||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
button, input[type='submit'] {
|
||||
textarea {
|
||||
margin-right: 0;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
button, input[type='submit'], input[type='button'] {
|
||||
padding-right: 30px;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue