简单教程
提交运行
代码编辑器:
<!DOCTYPE html> <meta charset="utf-8"><link href="/static/next/css/tryit.css?v=2017082407" rel="stylesheet"/> <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('/static/i/css/paris.jpg'); background-blend-mode: luminosity; } </style> <div id="myDIV">简单教程 —— 简单教程,简单编程</div> <p><b>注意:</b> Internet Explorer 不支持 background-blend-mode 属性。</p> <footer>简单教程,简单编程<br/>Copyright © 简单教程 www.twle.cn</footer>
运行结果: