CSS3 Mixed Mode Mix-blend-mode/background-blend-mode Introduction

Source: Internet
Author: User

CSS3 has two properties associated with the blending mode, mix-blend-mode and background-blend-mode .

The CSS property function is to "mix" the element content with the background of the element and the following elements.

As you can see, the latest Chrome and Firefox browsers are well supported and do not need to use a private prefix.

They support a lot of values, the Chinese and English comparison is as follows:

Mix-blend-mode:normal;          Normal mix-blend-mode:multiply;        Multiply bottom mix-blend-mode:screen;          Filter color mix-blend-mode:overlay;         Overlay Mix-blend-mode:darken;          Darken Mix-blend-mode:lighten;         Lighten Mix-blend-mode:color-dodge;     Color Dodge Mix-blend-mode:color-burn;      Color deepened mix-blend-mode:hard-light;      Strong light mix-blend-mode:soft-light;      Soft light mix-blend-mode:difference;      Difference value mix-blend-mode:exclusion;       exclusion of Mix-blend-mode:hue;             Hue Mix-blend-mode:saturation;      Saturation of Mix-blend-mode:color;           Color mix-blend-mode:luminosity;      Brightness mix-blend-mode:initial;         Initial mix-blend-mode:inherit;         Inherit Mix-blend-mode:unset;           Restoration

The back three soy sauce is rich in flavor, never appeared in PS

mix-blend-modeBy default, all elements that are lower than the stacking order are blended, what if we want the values to be mixed with some one or two elements instead of all? You can try using CSS3.isolation:isolate

Third, CSS3 Background-blend-mode

background-blend-modeThis is to better understand a little bit, the background of the mixed mode. It can be a blend of background images, or a blend of background pictures and background colors.

It is important to note that only the background picture and color blend in the Background property, and only in one background property.

CSS3 backgrounds Multi-background ie9+ browser began to support. So, you want to mix multiple graphs, that is, a comma, a write in the background properties of the can be,

CSS3 Mixed Mode Mix-blend-mode/background-blend-mode Introduction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.