fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Fmpq教程(fmpq.com)</title> <style> #myDIV { width: 290px; height: 69px; background-size: 290px 69px; background-repeat: no-repeat; background-image: linear-gradient(to right, yellow 0%,white 100%), url('/logo.png'); background-blend-mode: color-dodge; } </style> </head> <body> <div id="myDIV"> Fmpq教程 —— 学的不仅是技术,更是梦想!!! </div> <p><b>注意:</b> Internet Explorer 不支持 background-blend-mode 属性。</p> </body> </html>
运行结果