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!
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
I changed both width/height of social icons to 75px to experiment, but no effect. Is it affected by specificity?
I tried to practice changing the width ,height and margin in the social media icon section. I noticed that there is no difference at all if I increase or decrease width and height in terms of pixel. The only difference I will see when I refresh it, is when I increase the margins. But the width and height still remains the same size regardless the number I set it to. Is it affected by specificity?
This is a snapshot of my code.
Max Senden23,177 Points
Hi web pad,
Your social media image tags <img>, have been nested outside of <a> element with the class social-icon. Therefore any styling you apply to the social-icon class is not applied to the <img>. If you place ethe <img> inside of the <a> it should work.
Hope it helps, Max