tourguide实现手机端移动端app新手引导指引教程效果代码

代码语言:html

所属分类:布局界面

代码描述:tourguide实现手机端移动端app新手引导指引教程效果代码

代码标签: 移动 app 新手 引导 指引 教程 效果

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

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">



    <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/popper-min.js"></script>
   <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.5.15.3.css">
   <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/all.5.15.4.js"></script>
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/tourguide.css">
    <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/tourguide.min.js"></script>

    <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');
        :root{
          --border-radius-big: 1rem;
          --border-radius-small: .3rem;
          --box-shadow: 14px 26px 55px -19px rgba(0,0,0,0.61);
          --green-primary: #5DB075;
          --green-secondary: #4B9460;
          --light-grey: #E8E8E8;
          --dark-grey: #BDC5CD;
          --font-dark: #000;
          --font-light: #666666
          --font-white: #fff;
        }
        
        *, *::after, *::before{
          font-family: 'Poppins', sans-serif;
          margin: 0;
          padding: 0; 
          box-sizing: border-box;
        }
        /* width */
        ::-webkit-scrollbar {
          width: 0px;
        }
        
        /* Track */
        ::-webkit-scrollbar-track {
          background: transparent; 
        }
         
        /* Handle */
        ::-webkit-scrollbar-thumb {
          background: transparent; 
        }
        
        /* Handle on hover */
        ::-webkit-scrollbar-thumb:hover {
          background: transparent; 
        }
        body{
            background: var(--light-grey) !important;
            height: 100vh;
            width: 100%;
            overflow: hidden;
          
        }
        .main{
          width: 100%;
          display: flex;
          justify-content: center;
          align-items: center;
          height: 100%;
        
        }
        
        .tour_btn{
          position: fixed;
          top: 2%;
          left: 10%; 
          padding: .5rem 1rem;
          cursor: pointer;
          border-radius: var(--border-radius-small);
          background: red;
          color: white;
          border: none;
          font-size: 1.2rem;
          font-weight:600;
          z-index: 99;
        }
        .phone{
          height: 800px;
          min-width: 400px;
          width: 400px;
          border-radius: var(--border-radius-big);
          overflow: hidden;
          background: #fff;
          box-shadow: var(--box-shadow);
          position: relative;
         }
        
        .phone_header{
          height: 25px; 
          width: 100%; 
          background-color: #060606;
          position: relative;
        }
        
        .phone_header::after{
          content: "";
          width: 50px;
          height: 10px;
          position: absolute;
          top: 0;
          bottom: 0;
          left: 0;
          right: 0;
          background: grey;
          margin: auto;
          border-radius: var(--border-radius-small);
        }
        
        
        
        .phone_footer{
          height: 50px;
          widht: 100%;
          background-color: #060606;
          position: relative;
        }
        
        .phone_footer::after{
          content: "";
          position: absolute;
          top: 0;
          bottom: 0;
          left: 0;
          right: 0;
          height: 40px; 
          width: 40px;
          border-radius: 50%;
          background: grey;
          margin:auto; 
        }
        
        .phone_main{
           position: relative;
           background: #fff;
           height: 725px;
           overflow: auto;
           width: 400px;
        }
        
        .phone_main_header{
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          background: var(--green-primary);
          padding: .5rem 1rem;
          position: sticky;
          top: 0;
          left: 0;
          right: 0;
          z-index: 2;
          font-weight: 500;
        }
        
        .user_header{
          padding: 2.5rem 1rem 7rem;
          background: var(--green-primary);
          position: relative;
          display: flex;
          flex-direction: column;
         }
        .user_titel{
           display: flex;
          flex-direction: row;
          flex-wrap: nowrap;
          justify-content: space-between;
          color: white;
        }
        
        .user_titel span{
          cursor: pointer;
        }
        
        .user_image {
          position: absolute;
          bottom: -5rem;
          left: 0; 
          right: 0;
          margin: auto;
          height: 10rem;
          width: 10rem;
          background: #fff;
          box-shadow: var(--box-shadow); 
          border-radius: 50%;
          overflow: hidden;
        }
        .user_image img{
          width: 100%;
          height: 100%;
          padding: .3rem;
          border-radius: 50%;
        }
        .user_main{
          display: flex;
          justify-content: center;
          padding-top: 6rem;
          text-align: center;
        }
        .posts{
          display: flex;
          flex-direction: column;
          width: 100%;
          height: 100%;
          padding: .3rem .5rem 4rem;
          position: relative;
         }
        
        .post_card{
          text-align: left;
          width: 80%;
          margin: 1rem auto;
          padding: 1rem .7rem ;
          position: relative;
          box-shadow: var(  --box-shadow);
          border-radius: var(--border-radius-big);
         
        }
        .post_card::before{
         font-family: "Font Awesome 5 Brands"; 
         content: "\f099";
         color: var(--green-primary);
         font-weight: 700;
         display: inline-block;
         text-align: center;
         font-style: normal;
         font-variant: normal;
         text-rendering: auto;
         -webkit-font-smoothing: antialiased;
          position: absolute; 
          left:-1rem;
        }
        
        .subject{
          font-weight: 600;
         }
        .description{
          font-size: .9rem;
          line-height: 1.4;
        }
        .action{
          margin-top: .5rem;
          display: flex;
          justify-content: space-around;
          color: white; 
          
          }
        .action span{
          height: 40px;
          width: 40px;
          border-radius: 50%;
          padding: .5rem;
          text-align: center;
          cursor: pointer;
          .........完整代码请登录后点击上方下载按钮下载查看

网友评论0