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
Harshay Raipancholi
Python Development Techdegree Student 12,404 PointsCode Challenge Issue on Media Queries
how do i achieve this ?
8 Answers
Joe Li
3,608 Points.cupcake img { display: none; }
Harshay Raipancholi
Python Development Techdegree Student 12,404 PointsThis doesn't work ?
Craig London
4,883 PointsHarshay, Where are you applying the display none value?
Harshay Raipancholi
Python Development Techdegree Student 12,404 Pointsin the media query :
@media screen and (max-width : 480px) {
.contact{width:100%}
.menu{width:100%}
.cupcake{
display:none;}
}
Joe Li
3,608 Points.cupcake img { display: none; }
Harshay Raipancholi
Python Development Techdegree Student 12,404 Points.cupcake img {display:none; } worked !
Thanks Joseph Li and craig !
Joe Li
3,608 PointsPleasure, enjoy!
Craig London
4,883 PointsThank you... I don't have media queries mastered so it was nice to help out someone and rework it myself!