菜单切换
FACESOHO知行者
心灵
记录
远方
赞赏工具
源代码:
点击运行
保存
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta charset="UTF-8"> <title>小鸟启蒙(facesoho.com)</title> <style> /* For device width smaller than 400px:*/ body { background-repeat:no-repeat; background-image:url('/public/uploads/image/20190120/img_flowers.jpg'); } /* For device width 400px and larger:*/ @media only screen and (min-device-width:400px) { body { background-image:url('/public/uploads/image/20190120/img_flowers.jpg'); } } </style> </head> <body> </body> </html>
运行结果