<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> div { 295px; height: 156px; background: url('test.png') no-repeat; -webkit-box-reflect:below 0 -webkit-linear-gradient(transparent,transparent 50%,rgba(255,255,255,.3)); } </style> <title>Document</title> </head> <body> <div></div> </body> </html>
效果图: