Skip to content

Commit

Permalink
Update example to use type="time" instead of type="number" (#37692)
Browse files Browse the repository at this point in the history
For the example around modifying a time input, the type should be "time", not "number".
  • Loading branch information
casperOne authored Jan 17, 2025
1 parent d2c90c8 commit 84f6af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/html/element/input/time/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ In this example, we create an interface element for choosing time using the nati
### CSS

```css
input[type="number"] {
input[type="time"] {
width: 100px;
}

Expand Down

0 comments on commit 84f6af2

Please sign in to comment.