Home >Web Front-end >CSS Tutorial >css gradient color

css gradient color

php中世界最好的语言
php中世界最好的语言Original
2018-03-09 16:45:182170browse

This time I will bring you the gradient color of css. What are the precautions for using css gradient color? The following is a practical case, let’s take a look.

background: -o-linear-gradient(left, #109afd, #3ed3fe);
background: -moz-linear-gradient(left, #109afd, #3ed3fe);
background: -ms-linear-gradient(left, #109afd, #3ed3fe);
background: linear-gradient(left, #109afd, #3ed3fe);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=#109afd, endColorstr=#3ed3fe);
background: -webkit-linear-gradient(left, #109afd, #3ed3fe);

I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to the php Chinese website

Other related articles!

Related reading:

Commonly used array string methods

##How to use gulp to automatically optimize requireJS projects


How to filter out false, null, 0, "", undefined, and NaN values ​​from a js array

The above is the detailed content of css gradient color. For more information, please follow other related articles on the PHP Chinese website!

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