Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Course Overview 1:49
- Attribute Selectors 8:44
- Styling Form Buttons and Links with Attribute Selectors 3:34
- Attribute Selectors Challenge 3 objectives
- DRY CSS 10:51
- Child, Adjacent, and General Sibling Combinators 9:03
- Combinators Challenge 2 objectives
- Attribute Selectors and Combinators Review 5 questions

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Now that we know how to target an element's attribute, let's learn the different ways we can select form buttons and links with attribute selectors.
Quick Reference
Using attribute selectors with form elements
This target an input
element with a type
value of email
:
input[type="email"] {
background: yellow;
}
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Rashad Nelson
6,532 Points1 Answer
-
karan Badhwar
Web Development Techdegree Graduate 18,135 Points1 Answer
-
nicolaspeterson
8,569 Points1 Answer
-
Deborah Savage
Front End Web Development Techdegree Student 6,794 Points2 Answers
-
Skyler Patterson
5,641 Points1 Answer
-
Peter Feaver
5,829 Points3 Answers
-
Arikaturika Tumojenko
8,897 Points3 Answers
-
Andrew Sieg
Full Stack JavaScript Techdegree Student 9,469 Points1 Answer
-
Cassandra Jones
7,113 Points4 Answers
-
Javid Abbasov
9,243 Points1 Answer
-
Jakub Tyczyński
3,310 Points5 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up