Home >Web Front-end >JS Tutorial >Web page background gradient effect code_page background

Web page background gradient effect code_page background

WBOY
WBOYOriginal
2016-05-16 19:14:341134browse

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~



Statement:
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