aboutsummaryrefslogtreecommitdiff
path: root/lab/parallax.html
blob: c501962c8d9936d6b46d386284802012e235918a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>CSS Scrolling Parallax</title>

  <link rel="stylesheet" href="assets/css/chota.min.css">
  <style type="text/css">
  header {
    background-image: url("assets/images/ronce/illustration-ronce_2400x1531px.png");
    position: fixed;
    height: 100vh;
    width: 100vw;
    /* Create the parallax scrolling effect */
    /* background-attachment: fixed; */
    background-position: center;
    /* background-repeat: no-repeat; */
    background-repeat: no-repeat;
    background-size: cover;
  }

  header h1 {
    text-align: center;
    color: #fafafa;
    margin-top: 35vh;
  }


  main {
    max-width: 100%;
    position: relative;
    top: 95vh;
    padding: 50px;
    font-size: 20px;
  }

  section {
    padding: 2rem;
    margin-bottom: 4rem;
    background-color: #fff;
  }
  </style>
</head>

<body>
  <header>
    <h1>Coucou</h1>
  </header>
  <main>
    <section>
      <h1>Cute Kitten</h1>
      <p>Bacon ipsum dolor sit amet chicken pork loin hamburger ball tip, swine tenderloin salami meatball boudin tri-tip fatback shank bacon. Pork salami kevin, brisket spare ribs strip steak ham hock porchetta. Pork belly short loin tail porchetta. Pork pig meatball, beef ribs doner jerky tri-tip hamburger filet mignon strip steak ball tip ham tail tongue corned beef.</p>

      <p>Flank spare ribs capicola, strip steak biltong pancetta bresaola tri-tip cow landjaeger. Short ribs sirloin beef ribs, flank capicola ribeye turducken. Sirloin boudin andouille tail. Ham flank tail sausage t-bone, jerky landjaeger kevin porchetta ground round pork belly.</p>
    </section>
    <section>
      <h1>Boring</h1>
      <p>Bacon ipsum dolor sit amet chicken pork loin hamburger ball tip, swine tenderloin salami meatball boudin tri-tip fatback shank bacon. Pork salami kevin, brisket spare ribs strip steak ham hock porchetta. Pork belly short loin tail porchetta. Pork pig meatball, beef ribs doner jerky tri-tip hamburger filet mignon strip steak ball tip ham tail tongue corned beef.</p>
    </section>
    <section>
      <h1>Fluffy Kitten</h1>
      <p>Bacon ipsum dolor sit amet chicken pork loin hamburger ball tip, swine tenderloin salami meatball boudin tri-tip fatback shank bacon. Pork salami kevin, brisket spare ribs strip steak ham hock porchetta. Pork belly short loin tail porchetta. Pork pig meatball, beef ribs doner jerky tri-tip hamburger filet mignon strip steak ball tip ham tail tongue corned beef.</p>
      <p>Bacon ipsum dolor sit amet chicken pork loin hamburger ball tip, swine tenderloin salami meatball boudin tri-tip fatback shank bacon. Pork salami kevin, brisket spare ribs strip steak ham hock porchetta. Pork belly short loin tail porchetta. Pork pig meatball, beef ribs doner jerky tri-tip hamburger filet mignon strip steak ball tip ham tail tongue corned beef.</p>
    </section>
  </main>
</body>

</html>