<!DOCTYPE html>
<html>
<head>
	<meta charset='UTF-8'>
	<title>筑梦新时代:激扬青春正能量</title>
	<meta name='description' content='汇聚时代楷模力量,弘扬向上精神,共筑美好未来!本网站以精美的网页设计和流畅的动画特效,展现新时代青年奋发有为的精神面貌,传递积极向上的正能量。'>
	<meta name='keywords' content='时代主旋律, 积极向上, 正能量, 青春, 梦想, 未来, 网页设计, 动画特效'>
	<style>
		body {
			font-family: 'Microsoft YaHei', Arial, sans-serif;
			margin: 0;
			padding: 0;
		}
		header {
			background-color: #333;
			color: #fff;
			padding: 20px;
			text-align: center;
			font-size: 30px;
			font-weight: bold;
		}
		nav {
			background-color: #eee;
			padding: 10px;
			text-align: center;
			font-size: 20px;
			font-weight: bold;
		}
		nav a {
			color: #333;
			text-decoration: none;
			margin: 10px;
		}
		nav a:hover {
			color: #fff;
			background-color: #333;
			padding: 5px;
			border-radius: 5px;
		}
		section {
			padding: 20px;
			margin: 20px;
			border: 1px solid #333;
			border-radius: 10px;
			background-color: #eee;
		}
		h1 {
			font-size: 24px;
			margin-bottom: 10px;
		}
		p {
			font-size: 18px;
			line-height: 1.5;
			margin-bottom: 20px;
		}
		ul {
			font-size: 18px;
			line-height: 1.5;
			margin-bottom: 20px;
		}
		li {
			margin-left: 20px;
		}
		footer {
			background-color: #333;
			color: #fff;
			padding: 20px;
			text-align: center;
			font-size: 16px;
		}
		.animation {
			position: relative;
			width: 100%;
			height: 500px;
			background-color: #eee;
			margin-bottom: 20px;
			overflow: hidden;
		}
		.animation img {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			object-fit: cover;
			opacity: 0;
			transition: opacity 1s ease-in-out, transform 0.5s ease-in-out;
		}
		.animation img.active {
			opacity: 1;
			transform: scale(1);
		}
		.animation .controls {
			position: absolute;
			bottom: 20px;
			left: 50%;
			transform: translateX(-50%);
			display: flex;
			align-items: center;
			justify-content: center;
		}
		.animation .controls button {
			background-color: #333;
			color: #fff;
			padding: 10px 20px;
			border: none;
			border-radius: 5px;
			margin: 0 10px;
			cursor: pointer;
		}
		.animation .controls button:hover {
			background-color: #fff;
			color: #333;
		}
	</style>
</head>
<body>
	<header>筑梦新时代:激扬青春正能量</header>
	<nav>
		<a href='#about'>关于我们</a>
		<a href='#services'>时代楷模</a>
		<a href='#testimonials'>奋斗故事</a>
		<a href='#contact'>联系我们</a>
	</nav>
	<section id='about'>
		<h1>关于我们</h1>
		<p>我们是新时代青年,我们朝气蓬勃,我们奋发向上!
			本网站旨在弘扬时代主旋律,传递社会正能量,展现当代青年为实现中华民族伟大复兴中国梦不懈奋斗的精神风貌。
		</p>
	</section>
	<section id='services'>
		<h1>时代楷模</h1>
		<p>他们是时代的先锋,是国家的脊梁,是民族的骄傲!
			让我们一起学习他们的先进事迹,汲取他们的精神力量,为实现中华民族伟大复兴的中国梦贡献自己的力量!
		</p>
		<ul>
			<li>钟南山:生命至上,医者仁心,抗击疫情的民族英雄</li>
			<li>张桂梅:燃烧自己,照亮他人,点亮贫困山区女孩希望的“校长妈妈”</li>
			<li>黄文秀:心系群众,扎根基层,用生命践行初心使命的“时代楷模”</li>
		</ul>
	</section>
	<section id='testimonials'>
		<h1>奋斗故事</h1>
		<div class='animation'>
			<img class='active' src='https://images.unsplash.com/photo-1519681393784-d120267933ba?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60'
				alt='奋斗故事1'>
			<img src='https://images.unsplash.com/photo-1521747116042-5a810fda9664?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60'
				alt='奋斗故事2'>
			<img src='https://images.unsplash.com/photo-1501443762994-8c960fa5b1e3?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60'
				alt='奋斗故事3'>
			<div class='controls'>
				<button onclick='prev()'>上一个</button>
				<button onclick='next()'>下一个</button>
			</div>
		</div>
	</section>
	<section id='contact'>
		<h1>联系我们</h1>
		<form>
			<label for='name'>姓名:</label>
			<input type='text' id='name' name='name' required><br>
			<label for='email'>邮箱:</label>
			<input type='email' id='email' name='email' required><br>
			<label for='message'>留言:</label>
			<textarea id='message' name='message' required></textarea><br>
			<input type='submit' value='提交'>
		</form>
	</section>
	<footer>
		版权所有 &copy; 2023 筑梦新时代
	</footer>
	<script>
		let images = document.querySelectorAll('.animation img');
		let index = 0;
		function next() {
			images[index].classList.remove('active');
			index = (index + 1) % images.length;
			images[index].classList.add('active');
		}
		function prev() {
			images[index].classList.remove('active');
			index = (index - 1 + images.length) % images.length;
			images[index].classList.add('active');
		}
	</script>
</body>
</html>
筑梦新时代:激扬青春正能量

原文地址: https://www.cveoy.top/t/topic/f0Xq 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录