STAHandbook_HoaTruong_03/23/2022

by hoatruong283

HTML

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="./style.css">
  <title>Essential Information</title>
</head>
<body>
  <div class="book">
    <input type="checkbox" id ="c1">
    <input type="checkbox" id ="c2">
    <input type="checkbox" id ="c3">
    <div id="cover"><img src="https://images.pexels.com/photos/4383928/pexels-photo-4383928.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2"></div>
    <div class="flip-book">
      <div class="flip" id="p1">
        <div class="back">
          <img src="https://images.pexels.com/photos/1684151/pexels-photo-1684151.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2">
          <label class = "back-btn" for ="c1">Back</label>
        </div>
        <div class="front">
          <h1 data-text="Communication">Communication</h1>
          <div class="daily-app">
          <p> Basecamp <img src ="https://pbs.twimg.com/profile_images/1166426321490083840/X-gfZudw_400x400.jpg"></p>
          
          <p>Slack <img src = "https://yt3.ggpht.com/ytc/AKedOLS2OOXtmIHu0Tf1TmWITVrHNktn-MVXK3XRjwf4YA=s900-c-k-c0x00ffffff-no-rj"></p>
          
          <p>Email <img src="https://cdn2.downdetector.com/static/uploads/logo/image21.png"></p>
          
            </div>
          <label class="next-btn" for = "c1">Next</label>
        </div>
      </div>

      <div class="flip" id="p2">
        <div class="back">
          <img class ="ava1" src="https://images.pexels.com/photos/4144101/pexels-photo-4144101.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260">
          <label class = "back-btn" for ="c2">Back</label>
        </div>
        <div class="front">
          <h1 data-text="DailyWork" >DailyWork</h1>
            <p>1/ Clean</p>
            <p>2/ Tag @channel</p>
            <p>3/ Answer message</p>
            <p>4/ Comment on your Daily Plan</p>
   ...

CSS

img{
    width: 260px;
    height: 400px;
    border-radius: 2%;
}

.daily-app img {
    width: 15%;
    height: 15%;
    border-radius: 20%;
    margin-left: 5%;
    margin-top: 10%;
}

body{
    margin: 100px;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #eddcd2 50%, #cb997e 50%);
}

input{
    display: none;
}

h1{
    font-size: 2vw;
    color: #eddcd2;
    -webkit-text-stroke: 0.0666666666vw #212529;
    /* text-transform: uppercase; */
}

h1::before
{
    content: attr(data-text);
    position: absolute;
    top: 10;
    left: 10;
    height: 100%;
    width: 0;
    color: #6c757c;
    -webkit-text-stroke: 0vw #212529;
    overflow: hidden;
    animation: animate 6s linear infinite;
}

@keyframes animate
{
    0%
    {
        width: 0;
    }    
    70%
    {
        width: 100%;
    } 
}

h2{
    font-size: 1.3vw;
}

ul{
    font-size: 1.12vw;
}

.book{
    display: flex;
}

#cover{
    width: 260px;
    height: 250px;
}

.flip-book{
    width: 260px;
    height: 400px;
    position: relative;
    perspective: 1500px;
}

.flip{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: left;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transition: 0.5s;
    color: #000;
}

p{
    font-size: 14px;
    line-height: 24px;
}

.front{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    box-sizing: border-box;
    padding: 0 13px;
    box-shadow: inset 20px 0 50px rgba(0,0,0,0.5) 0 2px 5px rgba(0,0,0,0.5);
    border-radius: 2%;
    background-color: #f8f8ff;
}

.back{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    background-color: #000;
}

.next-btn{
    position: absolute;
    bottom: 13px;
    right:...