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
MySQL is divided into installation version and fr...
It took me three hours to install MySQL myself. E...
Overview Let's summarize some SQL statements ...
1. Use docker images to view all the image files ...
Table of contents 1. The original array will be m...
This article shares the installation and configur...
First, understand a method: Entering a Docker con...
Table of contents Combining lookahead and lookbeh...
This article shares the specific code of JavaScri...
Caused by: java.sql.SQLException: Incorrect strin...
MySQL 5.7.17, now seems to be the latest version,...
MySQL DECIMAL data type is used to store exact nu...
Table of contents 1 Version and planning 1.1 Vers...
Recently, when I was working on a front-end vue.j...
1. Introduction Is it considered rehashing old st...