Skip to content

Commit 465b583

Browse files
Fix Chrome’s new button style with border-radius
Chrome now adds `border-radius` by default on buttons, we remove it to avoid cross-browser layout disparity
1 parent c81693c commit 465b583

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

reset.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,12 @@ textarea {
140140
border: 0;
141141
}
142142

143+
button,
144+
input[type="button"],
145+
input[type="submit"] {
146+
border-radius: 0;
147+
}
148+
143149
button::-moz-focus-inner {
144150
padding: 0;
145151
border: 0

0 commit comments

Comments
 (0)