tailwind布局实登录注册表单页面ui代码
代码语言:html
所属分类:布局界面
代码描述:tailwind布局实登录注册表单页面ui代码
代码标签: tailwind 布局 登录 注册 表单 页面 ui 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>登录 - Piano Learning Platform</title>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/tailwindcss.3.4.16.js"></script>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.6.4.0.css">
<style>
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* 表单动画 */
.form-input-focus {
transition: all 0.2s ease;
}
.form-input-focus:focus {
box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
border-color: #7c3aed;
}
/* 按钮动画 */
.btn-pulse:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.2);
}
.btn-pulse:active {
transform: translateY(0);
box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.1);
}
</style>
</head>
<body class="bg-gray-50 min-h-screen flex flex-col">
<!-- Header -->
<header class="bg-white shadow-lg sticky top-0 z-40">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center h-16">
<div class="flex items-center">
<div class="w-40 h-10 bg-gray-200 rounded flex items-center justify-center">
<i class="fas fa-music text-purple-600 text-xl mr-2"></i>
<span class="text-gray-500 text-sm">Logo位置</span>
</div>
</div>
<nav class="hidden md:flex space-x-8">
<a href="#" class="text-gray-700 hover:text-purple-600">首页</a>
<a href="#" class="text-gray-700 hover:text-purple-600">课程</a>
<a href="#" class="text-gray-700 hover:text-purple-600">练习</a>
<a href="#" class="text-gray-700 hover:text-purple-600">考试</a>
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0