Image Inside Text Effect @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap'); body{ margin: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); overflow: hidden; /* background: url('./jerry.png') ; */ } .text-container{ display: flex; } .letter{ font-family: 'Montserrat', sans-serif; font-size: 9rem; font-weight: bolder; color: transparent; background: url('./jerry.png') no-repeat center center; background-size: cover; --webkit-background-clip:text; background-clip: text;line-height: 1; }PR I NCE
以上就是图像中的文字动画效果代码的详细内容,更多请关注创想鸟其它相关文章!
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 chuangxiangniao@163.com 举报,一经查实,本站将立刻删除。
发布者:程序猿,转转请注明出处:https://www.chuangxiangniao.com/p/1500571.html
微信扫一扫
支付宝扫一扫