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>
        .info-card {
            transition: all 0.3s ease;
        }
        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }
        .progress-bar {
            height: 4px;
            border-radius: 999px;
            background-color: #e5e7eb;
        }
        .progress-fill {
            height: 100%;
            border-radius: 999px;
            background-color: #7c3aed;
        }
    </style>
</head>
<body class="bg-gray-50 min-h-screen">
  <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>
                    .........完整代码请登录后点击上方下载按钮下载查看

网友评论0