Skip to content

Commit 9264dbe

Browse files
Fabio BrasileiroFabio Brasileiro
authored andcommitted
animation image
1 parent c4d5997 commit 9264dbe

2 files changed

Lines changed: 18 additions & 6 deletions

File tree

src/app/page/landing-page-inicio/landing-page-inicio.component.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,13 +251,13 @@ <h2 class="mb-4 text-3xl font-extrabold tracking-tight text-gray-900 dark:text-w
251251
</ul>
252252
<p class="mb-8 font-light lg:text-xl">A perguntar é por que você não faz parte ainda?</p>
253253
</div>
254-
<img class="hidden w-full mb-4 rounded-lg lg:mb-0 lg:flex" src="../assets/dokeDuvida.png"
254+
<img class="img-hiddenShow hidden w-full mb-4 rounded-lg lg:mb-0 lg:flex" src="../assets/dokeDuvida.png"
255255
alt="Doke avatar pensando" style="width: 450px;">
256256
</div>
257257
<!-- Row -->
258258
<div class="items-center gap-8 lg:grid lg:grid-cols-2 xl:gap-16">
259-
<img class="hidden w-full mb-4 rounded-lg lg:mb-0 lg:flex" src="../assets/doke.png" alt="doke convidando"
260-
style="width: 270px;">
259+
<img class="img-hiddenShow hidden w-full mb-4 rounded-lg lg:mb-0 lg:flex" src="../assets/doke.png"
260+
alt="doke convidando" style="width: 270px;">
261261
<div class="text-gray-500 sm:text-lg dark:text-gray-400">
262262
<h2 class="mb-4 text-3xl font-extrabold tracking-tight text-gray-900 dark:text-white">Venha ser feliz com
263263
qualquer linguagem</h2>
@@ -374,7 +374,8 @@ <h2 class="mt-3 mb-4 text-3xl font-extrabold tracking-tight text-gray-900 md:tex
374374
</div>
375375
</div>
376376
<div class="col-span-2 space-y-8">
377-
<img class="w-full rounded-sm" src="../../../assets/campusPartyJavaMan.jpeg" alt="Campus party Comunidade">
377+
<img class="img-hiddenShow w-full rounded-sm" src="../../../assets/campusPartyJavaMan.jpeg"
378+
alt="Campus party Comunidade">
378379
<!-- <div>
379380
<svg class="w-10 h-10 mb-2 text-purple-600 md:w-12 md:h-12 dark:text-purple-500" fill="currentColor"
380381
viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
@@ -786,4 +787,4 @@ <h2 class="mb-4 text-3xl font-extrabold leading-tight tracking-tight text-gray-9
786787
</div>
787788
</section>
788789
<app-footer></app-footer>
789-
<!-- <script src="https://unpkg.com/flowbite@1.4.1/dist/flowbite.js"></script> -->
790+
<!-- <script src="https://unpkg.com/flowbite@1.4.1/dist/flowbite.js"></script> -->

src/styles.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ section {
2929
width: min(60ch, 100%);
3030
} */
3131

32-
img {
32+
.img-hiddenShow {
3333
animation: reveal 1ms ease-in-out both;
3434
animation-timeline: view();
3535
animation-range: entry 25% cover 50%;
@@ -54,6 +54,17 @@ img {
5454
scale: 1 1;
5555
}
5656
}
57+
::-webkit-scrollbar {
58+
background: currentcolor;
59+
width: 10px;
60+
}
61+
::-webkit-scrollbar-track {
62+
background: currentcolor;
63+
}
64+
::-webkit-scrollbar-thumb {
65+
background: #fff;
66+
border-radius: 10px;
67+
}
5768

5869
/* .c-indicator {
5970
margin-top: 50px;

0 commit comments

Comments
 (0)