update css media query

and add a test demo