div+css布局实现现代手机端ai聊天助手ui交互页面代码
代码语言:html
所属分类:其他
代码描述:div+css布局实现现代手机端ai聊天助手ui交互页面代码
代码标签: div css 布局 现代 手机端 ai 聊天 助手 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>chatbot</title>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.6.4.0.css"> <style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
background: #f7f8fa;
color: #333;
}
/* 主页面 */
.main-page {
display: block;
min-height: 100vh;
background: #ffffff;
}
.main-page.hidden {
display: none;
}
.logo {
text-align: center;
padding: 60px 0 40px;
font-size: 42px;
font-weight: 700;
color: #1f2329;
letter-spacing: 1px;
}
.search-box {
margin: 0 20px 30px;
padding: 15px 25px;
background: #f2f3f5;
border-radius: 30px;
color: #8a919f;
font-size: 16px;
cursor: pointer;
text-align: center;
transition: background-color 0.3s;
}
.search-box:hover {
background-color: #e9eaec;
}
.tabs {
display: flex;
gap: 25px;
padding: 0 25px 25px;
font-size: 16px;
border-bottom: 1px solid #f0f0f0;
}
.tab {
display: flex;
align-items: center;
gap: 8px;
color: #6c757d;
padding-bottom: 10px;
border-bottom: 2px solid transparent;
cursor: pointer;
transition: color 0.3s, border-bottom-color 0.3s;
}
.tab.active {
color: #3478f6;
border-bottom-color: #3478f6;
font-weight: 600;
}
.icon-row {
display: flex;
justify-content: space-around;
padding: 25px 20px;
}
.icon-btn {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
background: none;
border: none;
cursor: pointer;
font-size: 14px;
color: #555;
}
.icon-circle {
width: 52px;
height: 52px;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: #333;
background: #f2f3f5;
transition: transform 0.2s;
}
.icon-btn:hover .icon-circle {
transform: translateY(-3px);
}
.apps-grid .........完整代码请登录后点击上方下载按钮下载查看
















网友评论0