css+div实现自适应响应式团队介绍图文卡片列表代码

代码语言:html

所属分类:响应式

代码描述:css+div实现自适应响应式团队介绍图文卡片列表代码

代码标签: css div 自适应 响应式 团队 介绍 图文 卡片 列表 代码

下面为部分代码预览,完整代码请点击下载或在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>团队成员 - 创新科技公司</title>
    <style>
        * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px
}

header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg,#6a11cb 0,#2575fc 100%);
    color: white;
    border-radius: 0 0 20px 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1)
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700
}

.subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: .9
}

.team-section {
    margin-bottom: 60px
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
    position: relative
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right,#6a11cb,#2575fc);
    margin: 10px auto;
    border-radius: 2px
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px
}

.membe.........完整代码请登录后点击上方下载按钮下载查看

网友评论0