Home >Web Front-end >HTML Tutorial >Gradient color background compatible with multiple browsers_html/css_WEB-ITnose

Gradient color background compatible with multiple browsers_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 12:00:401094browse

There are often times when we need to use gradient backgrounds, and using long strips of pictures is a bit too immodest, so I wrote a small example myself. To be compatible with multiple browsers, I need to write corresponding ones for each browser. CSS, browsers with too low-level versions can only use images as backgrounds.

The following is the current support for gradient in the five major browsers

Css code

Html code

  1. When was there no IE6, when was the world peaceful? Damn IE.

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