In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to use the background-blend-mode attribute in CSS. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
CSSbackground-blend-mode attribute
Function: used to define the blending mode of the background layer (picture and color)
Syntax:
Background-blend-mode:normal | multiply | screen | overlay | darken | lighten | color-dodge | saturation | color | luminosity
Attribute value:
Normal: default value, which sets the normal blending mode.
Multiply: positive overlay mode.
Screen: color filter mode.
Overlay: overlay mode.
Darken: dims the mode.
Lighten: brightens the mode.
Color-dodge: color dodge mode.
Saturation: saturation mode.
Color: color mode.
Luminosity: luminance mode.
Note: the background-blend-mode attribute is not supported by InternetExplorer.
An example of using the CSSbackground-blend-mode attribute
Body {background-color:yellow;}
Div {
Width:290px
Height:69px
Background-size:290px69px
Background-repeat:no-repeat
Background-image:linear-gradient (toright,#25a1b150%,#862e3e100%), url ('https://img.php.cn/upload/article/000/000/024/5c6a4428ea867709.png');
Background-blend-mode:color-dodge
}
Thank you for reading! This is the end of this article on "how to use background-blend-mode attributes in CSS". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.