Home > Web Front-end > JS Tutorial > body text

Web page background gradient effect code_page background

WBOY
Release: 2016-05-16 19:14:34
Original
1100 people have browsed it

The following is the code I searched from the Internet for the gradient of the background color of the web page from top to bottom to blue to white, but I don't understand some of the parameters. I can't figure out how to modify it if I want the gradient effect from bottom to top. Which parameter, I tried to modify the value of gradientType, but failed to achieve the gradient effect from bottom to top, only from left to right. I hope you can give me some advice, thank you in advance! !
style="FILTER: progidXImageTransform.Microsoft.Gradient gradientType=0,startColorStr=#46B5FF,endColorStr= #ffffff)" >
FF does not support it, it is better to use a background image for better compatibility~



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template