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>英皇乐理5级题库包 - 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 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
        }
        /* 弹窗动画 */
        .modal-enter { opacity: 0; transform: scale(0.95); }
        .modal-enter-active { opacity: 1; transform: scale(1); transition: all 300ms ease-out; }
        .modal-leave-active { opacity: 0; transform: scale(0.95); transition: all 200ms ease-in; }
    </style>
</head>
<body class="bg-gray-100 min-h-screen">
    <!-- 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-purple-600 font-bold border-b-2 border-purple-600">考试</a>
                    <a href="#" class="text-gray-700 hover:text-purple-600">关于</a>
                </nav>
                <div class="flex items-center space-x-6"><div class="hidden sm:flex items-center space-x-4 text-sm"><div class="flex items-center text-gray-600"><i class="fas fa-heart text-red-500 mr-1"></i><span>0</span></div><div class="flex items-center text-gray-600"><i class="fas fa-user-circle text-blue-500 mr-1"></i><span>112343***</span></div></div><button class="md:hidden"><i class="fas fa-bars text-gray-600"></i></button></div>
            </div>
        </div>
    </header>

    <!-- Banner Advertisement (保持不变) .........完整代码请登录后点击上方下载按钮下载查看

网友评论0