div+css布局实现钢铁立体文本走光扫光动画效果代码

代码语言:html

所属分类:布局界面

代码描述:div+css布局实现钢铁立体文本走光扫光动画效果代码

代码标签: div css 布局 钢铁 立体 文本 走光 扫光 动画

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">

  <link href="https://fonts.googleapis.com/css2?family=Russo+One&display=swap" rel="stylesheet">
  
  
  
<style>
:root {
	--title: "Chrome Text Effect CODEPEN";
	--author: "Matt Cannon";
	--contact: "mc@mattcannon.design";
	--description: "A layered metal chrome text effect, featuring a gradient metallic finish with animated shine effect and 3D shadows.";
	--keywords: "codepenchallenge, cpc-layered-text, chrome-effect, metallic-text, gradient-text, codepen, text-animation, css-effects, text-effects, shine-animation";
	--last-modified: "2024-11-04";
	--content-language: "en";
	--generator: "HTML5, CSS3";
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.container {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
	isolation: isolate;
}

.chrome-text {
	font-family: "Russo One", sans-serif;
	font-size: 6rem;
	position: relative;
	background: linear-gradient(
		180deg,
		#ffff.........完整代码请登录后点击上方下载按钮下载查看

网友评论0