media rule

Media Rule in CSS

This project will teach you how to use media rule in css. @media rule allows different style or layout for different media in the same style sheet. I have here in my example a box with a content. You can see the changes of the page content when the user resized the screen(box color and font-size change according to screen size). Hope you learn from this.