首页
极刻
圈子
教程
开源
登录 / 注册
返回教程:CSS 参考手册
TRY RUN / 在线示例
CSS 参考手册 尝试一下
CSS 参考手册 尝试一下
源代码
运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>安科教程(www.ancii.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('/statics/images/w3c/logo.png'); background-blend-mode: screen; } </style> </head> <body> <div id="myDIV"> W3Cschool教程 —— 学的不仅是技术,更是梦想!!! </div> <p><b>注意:</b> Internet Explorer 不支持 background-blend-mode 属性。</p> </body> </html>
运行结果