Effect screenshots:![]() Implementation code: Copy code The code is as follows:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title></title> <style type="text/css"> .linear{ width:100%; height:600px; FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=##15A216,endColorStr=#fafafa); /*IE*/ background:-moz-linear-gradient(top,#15A216,#fafafa);/*Firefox*/ background:-webkit-gradient(linear, 0% 0%, 0% 100%,from(#15A216), to(#fafafa));/*Google*/ background-image: -webkit-gradient(linear,left bottom,left top,color-start(0, #15A216),color-stop(1, #fafafa));/* Safari & Chrome*/ filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#15A216', endColorstr='#fafafa'); /*IE6 & IE7*/ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#15A216', endColorstr='#fafafa')"; /* IE8 */ } </style> </head> <body> <div class="linear"></div> </body> </html> |
<<: SQL implementation of LeetCode (175. Joining two tables)
>>: Sample code for changing the color of a png image through a CSS3 filter
After setting textarea input in Element UI to aut...
Table of contents 1. Understand the basics 2. Con...
When Mysql occupies too much CPU, where should we...
1. Ubuntu Server 18.04.5 LTS system installation ...
Table of contents HTTP hijacking, DNS hijacking a...
Frame structure tag <frameset></frameset...
The Drag and Drop API adds draggable elements to ...
Table of contents 【Effect】 【Implementation method...
Table of contents 1. Database constraints 1.1 Int...
This article shares the specific code of using ca...
Preface I have been working on some front-end pro...
To summarize the form submission method: 1. Use t...
Intro Introduces and collects some simple and pra...
Table of contents Uncontrolled components Control...
The JavaScript hasOwnProperty() method is the pro...