Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS How to Make a Website Adding Pages to a Website Add and Style Icons

karson Adam
karson Adam
32,618 Points

how to set the background size for contact-lis inks to 20px

my conde did not pass

.contact-info  a {
  display: block;
  min-height: 20px;
  background-repeat: no-repeat;
  padding: 0 0 0 30px;
  background-size: 20px;

2 Answers

Sean T. Unwin
Sean T. Unwin
28,660 Points

background-size requires 2 parameters.

karson Adam
karson Adam
32,618 Points

i was set background-size to 20px width and 20px height eg:

.contact-info a {

background-size: 20px 20px; }