diff --git a/guide/english/css/forms/index.md b/guide/english/css/forms/index.md index f6ef4c3947..eb74c3d706 100644 --- a/guide/english/css/forms/index.md +++ b/guide/english/css/forms/index.md @@ -62,6 +62,17 @@ In the below given example,only input type corresponding to first name will be s ``` +## Style input element with css + +### :focus selector +The `:focus` selector is applied when the element accepts user inputs. + +```css +input:focus { + background-color: #FFFF66; +} +``` +