div+css布局实现文字密集排布渐变文字墙效果代码
代码语言:html
所属分类:布局界面
代码描述:div+css布局实现文字密集排布渐变文字墙效果代码
代码标签: div css 布局 文字 密集 排布 渐变 文字 墙
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css2?family=Just+Another+Hand&display=swap");
body {
background: #222;
container-type: inline-size;
margin: 0;
}
article {
background: conic-gradient(
from 0deg at 50% 50% in oklch longer hue,
oklch(70% 0.3 0) 0%,
oklch(70% 0.3 0) 100%
);
background-clip: text;
color: #0000;
font-family: "Just Another Hand", cursive;
font-size: calc(1cqi + 1dvh);
line-height: 0.75;
text-transform: uppercase;
text-align: justify;
* {
display: contents;
font-size: inherit;
}
}
</style>
</head>
<body translate=.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0