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

Faisal Rahimi
Faisal Rahimi
4,019 Points

responsive.css not working please help.

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Kids</title>

<link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/responsive.css"> </head>

<body id="page1-body"> <header id="page1-header"> <a href="index.html" id="logo"> <h1>Kids</h1> <h2>World of Adventure</h2> </a>

and here is responsive.css

@media screen and (min-width: 480px) {

body{

background: red; } }

2 Answers

Faisal Rahimi
Faisal Rahimi
4,019 Points

I have changed it before and again now its not working