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, maximum-scale=1.0, user-scalable=no"> <style> * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif; } body { background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); color: #333; min-height: 100vh; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; } .container { width: 100%; max-width: 500px; } .header { text-align: center; margin-bottom: 30px; color: white; } .header h1 { font-size: 24px; font-weight: 600; margin-bottom: 8px; } .header p { opacity: 0.9; font-size: 14px; } .payment-card { background: white; border-radius: 16px; padding: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); margin-bottom: 20px; } .order-info { padding-bottom: 20px; border-bottom: 1px solid #f0f0f0; margin-bottom: 20px; } .order-info h2 { font-size: 18px; margin-bottom: 15px; color: #333; } .order-detail { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 15px; } .order-detail .label { color: #666; } .order-detail .value { color: #333; font-weight: 500; } .amount { font-size: 28px; font-weight: 700; text-align: center; margin: 25px 0; color: #ff4757; } .payment-methods { margin-bottom: 25px; } .payment-methods h3 { font-size: 16px; margin-bottom: 15px; color: #333; } .method { display: flex; align-items: center; padding: 15px; border: 1px solid #e8e8e8; border-radius: 12px; margin-bottom: 12px; cursor: pointer; transition: all 0.2s; } .method:hover { border-color: #2575fc; } .method..........完整代码请登录后点击上方下载按钮下载查看
网友评论0