Basic Attribute Selector

Trying make some changes to a type element attribute but for some reason it is not taking effect.

The part of the html I want to change is
<input type="email" name="email">

The selector I'm using in CSS is
input[type="text"]{
      width: 200px;
      height: 25px;
      border: 2px solid grey;
      background: lightyellow;
}
centemAsked:
Who is Participating?
 
GaryConnect With a Mentor Commented:
Type is email so you need to use email

input[type="email"]{...}
0
All Courses

From novice to tech pro — start learning today.