css - CSS 混合模式
问题描述
我正在尝试使用 CSS 混合模式设计一件 T 恤。我已经尝试了我能做的,但是有没有更好的方法来使用 CSS 混合模式创建这个设计,以便婴儿图像与 T 恤图像混合?
https://codepen.io/akin-orisajobi/pen/JZBPBz
.tshirt-design {
height: 100vh;
background-image: url(https://image.ibb.co/d1TwN8/baby1_resized.png), url("https://image.ibb.co/ifxRpo/crew_front.png");
background-repeat: no-repeat, no-repeat;
background-size: 150px 150px, contain;
background-position: 120px 70px, 0 0;
background-blend-mode: multiply;
}
<div class="tshirt-design">
</div>
解决方案
推荐阅读
- rust - 将 *mut T 强制转换为 *mut ManuallyDrop 是未定义的行为吗
? - r - 使用基础 R 从 dplyr::mutate_at() 复制结果
- node.js - 将 Postgres 字段转换为变量 nodejs 的问题
- sql - SQL 循环,条件查询
- html - 在不加载的情况下创建多页网站
- python - 为键创建字典:二维列表中的值
- android - 用android studio实现超类方法的位置
- mysql - 无法使用 mysql 工作台连接到 heroku mysql 数据库 clearDB
- node.js - Angular 6 SSH2 - 如何使用 Promise 处理错误?
- facebook - 各种 Facebook API 页面“instagram”字段之间有什么区别