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 trialTadjiev Codes
9,626 PointsBelow the .banner rule (at the root level), create a new rule that targets .icn and set a font-size of 1.25em.
Hi, I tried to nest it inside the .banner but it doesn't work ((( Can someone help?
.banner {
padding: 1em;
background-color: lightgrey;
.icn {
font-size: 1.25em;
.button {
font-size: 1.5em;
}
}
}
1 Answer
Marie Franklin
13,355 Pointsyou are nesting .icn class inside .banner class , instead of putting it below .banner
.banner {
padding: 1em;
background-color: lightgrey;
.button {
font-size: 1.5em;
}
}
.icn {
font-size: 1.25em;
}
Tadjiev Codes
9,626 PointsTadjiev Codes
9,626 PointsThanks a lot)))) Next, use the & symbol to create the selector .icn-success. Set the color of .icn-success to green. I'm really confused about this nesting selectors questions??? Could you help me with this as well?