mirror of
https://github.com/kognise/water.css.git
synced 2025-08-13 08:34:45 +02:00
Merge pull request #240 from itsdeekay/resetButton
This commit is contained in:
5
.changeset/nine-scissors-live.md
Normal file
5
.changeset/nine-scissors-live.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"water.css": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Added styling for Input type Reset
|
@@ -231,6 +231,7 @@
|
|||||||
<label for="remember">Remember me</label>
|
<label for="remember">Remember me</label>
|
||||||
|
|
||||||
<input type="submit" value="Submit" />
|
<input type="submit" value="Submit" />
|
||||||
|
<input type="reset" value="Reset" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<h3 id="code">Code</h3>
|
<h3 id="code">Code</h3>
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
button,
|
button,
|
||||||
select,
|
select,
|
||||||
input[type='submit'],
|
input[type='submit'],
|
||||||
|
input[type='reset'],
|
||||||
input[type='button'],
|
input[type='button'],
|
||||||
input[type='checkbox'],
|
input[type='checkbox'],
|
||||||
input[type='range'],
|
input[type='range'],
|
||||||
@@ -96,6 +97,7 @@ select[multiple] {
|
|||||||
|
|
||||||
button,
|
button,
|
||||||
input[type='submit'],
|
input[type='submit'],
|
||||||
|
input[type='reset'],
|
||||||
input[type='button'] {
|
input[type='button'] {
|
||||||
padding-right: 30px;
|
padding-right: 30px;
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
@@ -103,6 +105,7 @@ input[type='button'] {
|
|||||||
|
|
||||||
button:hover,
|
button:hover,
|
||||||
input[type='submit']:hover,
|
input[type='submit']:hover,
|
||||||
|
input[type='reset']:hover,
|
||||||
input[type='button']:hover {
|
input[type='button']:hover {
|
||||||
background: var(--button-hover);
|
background: var(--button-hover);
|
||||||
}
|
}
|
||||||
@@ -117,6 +120,7 @@ textarea:focus {
|
|||||||
input[type='checkbox']:active,
|
input[type='checkbox']:active,
|
||||||
input[type='radio']:active,
|
input[type='radio']:active,
|
||||||
input[type='submit']:active,
|
input[type='submit']:active,
|
||||||
|
input[type='reset']:active,
|
||||||
input[type='button']:active,
|
input[type='button']:active,
|
||||||
input[type='range']:active,
|
input[type='range']:active,
|
||||||
button:active {
|
button:active {
|
||||||
|
Reference in New Issue
Block a user