css实现文字字母拼凑照片人物肖像效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现文字字母拼凑照片人物肖像效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
p {
font-family: 'Poppins', sans-serif;
line-height: 14px;
background: url("//repo.bfw.wiki/bfwrepo/icon/6188d5f051b8e.png");
-webkit-background-clip: text;
background-attachment: fixed;
background-repeat: no-repeat;
-webkit-text-fill-color: rgba(255, 255, 255, 0);
background-size: 70vh;
background-position: center;
width: 800px;
margin: auto;
}
body {
background: black;
overflow: hidden;
}
</style>
</head>
<body>
<p id="text">In front of the bed there was moonlight, and I thought it was frost on the ground.Looking up the bright moon, lower the head to think of home.In front of the bed there was moonlight, and I thought it was frost on the ground.Looking up the bright moon,
lower the head to think of home.In front of the bed there was moonlight, and I thought it was frost on the ground.Looking up the bright moon, lower the head to think of home.In front of the bed there was moonlight, and I thought it was frost on
the ground.Looking up the bright moon, lower the head to think of home.In front of the be.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0