mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-16 07:29:52 +08:00
Autofocus email field
This commit is contained in:
@@ -11,10 +11,6 @@
|
||||
outline: 0 !important;
|
||||
}
|
||||
|
||||
input[placeholder] {
|
||||
color: red;
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ block content
|
||||
span.text-muted NAME
|
||||
form(method='POST')
|
||||
.form-group
|
||||
input.form-control(type='email', name='email', id='email', placeholder='Email')
|
||||
input.form-control(type='email', name='email', id='email', placeholder='Email', autofocus='')
|
||||
.form-group
|
||||
input.form-control(type='password', name='password', id='password', placeholder='Password')
|
||||
.form-group
|
||||
|
||||
Reference in New Issue
Block a user