Skip to content

Commit d441d10

Browse files
authored
Merge pull request mdn#101 from dawei-wang/patch-2
Add focus indicator to submit button
2 parents 8c040d9 + 9607b07 commit d441d10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

learn/images/form.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
color: #fff;
3737
}
3838

39-
input[type="submit"]:hover {
39+
input[type="submit"]:hover, input[type="submit"]:focus {
4040
background-color: #333;
4141
}
4242
</style>
@@ -72,7 +72,7 @@
7272
color: #fff;
7373
}
7474

75-
input[type="submit"]:hover {
75+
input[type="submit"]:hover, input[type="submit"]:focus {
7676
background-color: #333;
7777
}
7878

0 commit comments

Comments
 (0)