vue红点消息点开提醒通知效果代码

代码语言:html

所属分类:布局界面

代码描述:vue红点消息点开提醒通知效果代码

代码标签: vue 消息 通知

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/font-awesome-4.7.0/css/font-awesome.min.css">
    <style>
        * {
          -webkit-box-sizing: border-box;
          box-sizing: border-box;
        }
        *:before, *:after {
          -webkit-box-sizing: border-box;
          box-sizing: border-box;
        }
        
        body {
          font-family: 'Roboto', sans-serif;
          font-weight: 400;
          background: #e0dfff;
          margin: 0;
          height: 100vh;
          font-size: 0.875rem;
          line-height: 1.5;
          
          -webkit-box-pack: center;
          -ms-flex-pack: center;
          justify-content: center;
          -webkit-box-orient: vertical;
          -webkit-box-direction: normal;
          -ms-flex-direction: column;
          flex-direction: column;
        
          grid-template-columns: repeat(4, 1fr);
          grid-gap: 0.625rem;
          grid-template-areas: ". main main ." ". main main .";
        }
        
        .container {
          width: 20rem;
          height: 20rem;
          grid-area: main;
          -ms-flex-item-align: center;
          align-self: center;
          justify-self: center;
          margin:10px auto;
        }
        
        h2 {
          font-size: 1.6rem;
          font-weight: 400;
          line-height: 2rem;
          color: #1f2022;
        }
        
        ul {
          list-style-type: none;
          padding: 0.........完整代码请登录后点击上方下载按钮下载查看

网友评论0