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
As shown in the following figure: If the version ...
Scrcpy Installation snap install scrcpy adb servi...
Mysql left join is invalid and how to use it When...
When the height attribute of Text is defined, the ...
The loading speed of a web page is an important in...
Mac uses Shell (Terminal) SSH to connect to the r...
Install pymysql pip install pymysql 2|0Using pymy...
I am going to review Java these two days, so I wr...
Docker only maps ports to IPv6 but not to IPv4 St...
Table of contents Message Board Required librarie...
Solution to Ubuntu dual system stuck when startin...
Concept introduction : 1. px (pixel): It is a vir...
1. Use the SELECT clause to query multiple tables...
HTML5 and jQuery implement the preview of local i...
need After the user fills out the form and clicks...