div+css布局实习精简搜索类app的首页ui效果代码

代码语言:html

所属分类:布局界面

代码描述:div+css布局实习精简搜索类app的首页ui效果代码

代码标签: div css 布局 精简 搜索 app 首页 ui

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

<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>App UI-UX</title>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

        :root {
            --bg-color: rgba(245, 245, 247, 0.85);
            --font-color-primary: #1c1c1e;
            --font-color-secondary: #8a8a8e;
            --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
            --border-radius-main: 28px;
            --border-radius-inner: 20px;
        }

        body {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            font-family: 'Inter', sans-serif;
            background: #e9e9ef url('//repo.bfw.wiki/bfwrepo/image/5e2e42d898f65.png') no-repeat center center;
            background-size: cover;
            color: var(--font-color-primary);
        }

        .app-container {
            width: 375px;
            height: 812px;
            background: var(--bg-color);
            border-radius: 40px; /* Outer border */
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(40px) saturate(180%);
            -webkit-backdrop-filter: blur(40px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 16px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
        }

        /* Header */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 8px;
        }

        .header .greeting .date {
            font-size: 14px;
            color: var(--font-color-secondary);
            font-weight: 500;
            margin: 0 0 4px 0;
        }

        .header .greeting .welcome-message {
            font-size: 22px;
            font-weight: 700;
            margin: 0;
        }

        .status {
            display: flex;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.7);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
        }

        .status-indicator {
            width: 8px;
            height: 8px;
            background-color: #34c759;
            border-radius: 50%;
     .........完整代码请登录后点击上方下载按钮下载查看

网友评论0