跳至主要內容
CSS

min-blend-mode

这个属性指定元素的内容应该如何与其直接父级背景混合。可以选择很多值,类似:
min-blend-mode: screen | overlay等等
可以用来做很多有意思的效果。
https://www.w3schools.com/cssref/pr_mix-blend-mode.asp

浏览器支持情况:
image.png


Cap原创小于 1 分钟css
五个最新CSS特性及使用摘记

原文地址:https://zhuanlan.zhihu.com/p/40736286

1. display: contents

The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal. For the purposes of box generation and layout, the element must be treated as if it had been replaced with its children and pseudo-elements in the document tree.


Cap原创大约 3 分钟css