1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<!DOCTYPE html> <html> <head> <style type="text/css"> @media(max-width:500px) { .foo { font-size:9em ;} } </style> </head> <body> <span class="foo">This is some text</span> </body> </html>