vue3实现消息图标点击展开未读消息卡片上下滚动轮播效果代码
代码语言:html
所属分类:其他
代码描述:vue3实现消息图标点击展开未读消息卡片上下滚动轮播效果代码
代码标签: vue 消息 图标 点击 展开 未读 卡片 上下 滚动 轮播
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); * { margin: 0; padding: 0; box-sizing: border-box; font-family: "Poppins", sans-serif; } body { min-height: 100vh; display: grid; place-items: center; --black: #597093; --red-dot: #e95c4d; --window-height: 25vmin; background-color: #ffdee9; background-image: linear-gradient(0deg, #ffdee9 0%, #b5fffc 100%); } .notification-center { width: 50vmin; display: grid; grid-template-rows: 120px var(--window-height); /* border: 1px solid silver; */ } /* Notification Bell ---------------------------------------------- */ .notification-bell { display: grid; place-items: center; transform-origin: 50% 0%; animation: shake 0.2s 1s linear forwards; animation-iteration-count: 2; } .........完整代码请登录后点击上方下载按钮下载查看
网友评论0