This program will educate you on the way in which to make use of media queries using CSS3.
A technique to utilize media queries is to have an alternate CSS half correct inside your mannequin sheet.
The subsequent occasion changes the background-color to lightgreen if the viewport is 480 pixels huge or wider (if the viewport is decrease than 480 pixels, the background-color shall be pink):
Instructions:
1. Get hold of the supply code.
2. Extract the compressed folder.
3. Open the index.html in any browser
Bear in mind:
That’s solely a straightforward program any updates or constructive criticism shall be accepted.
Get hold of hyperlink:
Media Queries Example CSS3 Source Code
Provide iwantsourcecodes.com