Skip to content

Commit

Permalink
Reset margin for button element Andy-set-studio#49
Browse files Browse the repository at this point in the history
reverted margin from button element
  • Loading branch information
Kirtishukla2004 committed Mar 17, 2023
1 parent 91c38b0 commit f04f9eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions dist/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ button,
textarea,
select {
font: inherit;
margin: revert;
}

/* Remove all animations and transitions for people that prefer not to see them */
Expand Down
1 change: 1 addition & 0 deletions dist/reset.min.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ button,
textarea,
select {
font: inherit;
margin: revert;
}
@media (prefers-reduced-motion: reduce) {
html:focus-within {
Expand Down
3 changes: 2 additions & 1 deletion src/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@ button,
textarea,
select {
font: inherit;
margin: revert;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
html:focus-within {
scroll-behavior: auto;
scroll-behavior: auto;
}
*,
*::before,
Expand Down

0 comments on commit f04f9eb

Please sign in to comment.