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> |
<<: Determine the direction of mouse entry based on CSS
>>: Common CSS Errors and Solutions
Table of contents 1. Introduction 2. RC and RR is...
Run the command: glxinfo | grep rendering If the ...
Table of contents Preface 1. Configure gzip compr...
Table of contents 1. Location Object 1. URL 2. Pr...
Table of contents 1. Self-enumerable properties 2...
I recently installed Ubuntu 20.04 and found that ...
Alibaba Cloud Server installs and configures Tomc...
Whenever I have any unclear questions, I come to ...
Excel export always fails in the docker environme...
The following are all performed on my virtual mac...
1. Download and install VirtualBox software First...
This article shares the specific code of jQuery t...
1. Background In our daily website maintenance, w...
For MySQL 5.5, if the character set is not set, t...
Recently, I added a click-to-send email function t...