Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS How to Make a Website Adding Pages to a Website Build the Contact Page

Rick Wisneske
Rick Wisneske
1,207 Points

Footer Facebook and Twiter Logos will not scale down in size when adjusting in CSS.

Ok I'm using Firefox so this may have something to do with it. I'm trying to decrease the size of the footer facebook and twitter logos in CSS and nothing is happening.

/*HTML**/ <footer> <a href="http://twitter.com/"><img src="img/twitter-wrap.png" alt="Twitter Logo" clas="social-icon"></a> <a href="http://www.facebook.com/"><img src="img/facebook-wrap.png" alt="Facebook Logo" clas="social-icon"></a> © 2015 RWisneske Design. </footer>

/***********************************
FOOTER
************************************/

footer {
  font-size: 0.75em;
  text-align: center;
  clear: both;
  padding-top: 50px;  
}

.social-icon {
  width: 15px;
  height: 15px;
  margin: 0 2px;
}

2 Answers

its a simple issue, instead of the word class you have "clas" in your markup. Once corrected your styles should work.

Rick Wisneske
Rick Wisneske
1,207 Points

Hey thanks Jacob. My brain just went right past that mistake.

Rick, not a problem. Glad I could help.