tailwind实现可拖拽切换用户评价堆叠卡片幻灯片效果代码
代码语言:html
所属分类:幻灯片
代码描述:tailwind实现可拖拽切换用户评价堆叠卡片幻灯片效果代码
代码标签: tailwind 拖拽 切换 用户 评价 堆叠 卡片 幻灯片
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600&display=swap" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.6.4.0.css">
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/tailwindcss.3.4.16.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
aura: {
bg: '#0d0e10',
card: '#13141a',
border: '#1f2023',
accent: '#5e6ad2',
purple: '#8b5cf6',
text: '#b4bcd0',
muted: '#7c8794'
}
},
fontFamily: {
geist: ['Geist', 'sans-serif'],
}
}
}
}
</script>
<style>
.glass-effect {
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}
.avatar {
width: 44px;
height: 44px;
border-radius: 12px;
background: linear-gradient(135deg, #5e6ad2, #8b5cf6);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: 600;
font-size: 16px;
}
/* Interactive Card Stack Styles */
.testimonials-stack {
--_offset-steps: 4rem;
-.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0