I created an UI where when the user scrolls down the page, 4 grid boxes appears with a "fade in" effect, but when we go up the page, then we scroll down the page again, the animation appears again, while precisely, I don’t want the animation to be done several times, but only when the boxes have appeared once.
Here is my code:
const grid_objs = document.querySelectorAll('._grid-obj');
observer = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (entry.intersectionRatio > 0) {
entry.target.style.animation = `grid-obj .8s ${entry.target.dataset.delay} forwards ease`;
} else {
entry.target.style.animation = "none";
}
});
});
grid_objs.forEach((grid_obj) => {
observer.observe(grid_obj);
});
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
.n-sec__ {
min-height: 100vh;
display:grid;
max-height:100%;
}
._box {
background:#f4f4f4;
border-radius: 10px;
position: relative;
}
._grid {
display: grid;
grid-template-columns: auto auto;
min-width: 100%;
}
._grid ._grid-obj {
display: grid;
margin: 1em;
padding: 2em;
max-width: 800px;
opacity: 0;
}
._grid ._grid-obj ._grid-title {
color:#000000;
font-family: 'Inter', sans-serif;
}
._grid ._grid-obj ._grid-p {
font-weight: 300;
color:#000000;
padding: 0.5em 0;
font-size: 10pt;
line-height: 1.1em;
}
<section style="height:100vh;"></section>
<section class="n-sec__ ">
<div class="_container ">
<div class="_grid">
<div class="_grid-obj _box" data-delay="0s">
<h5 class="_grid-title _z">Community</h5>
<p class="_grid-p _z">Take advantage of a dynamic and caring community, present to propel you to the top of your ladder in your artistic journey. Mainly based on sharing, forge links between passionate or professional artists.</p>
<p class="_grid-p">Feel like the best at us (but stay yourself).</p>
</div>
<div class="_grid-obj _box" data-delay=".5s">
<h5 class="_grid-title">Share</h5>
<p class="_grid-p">Sharing is above all our priority, that's what our network represents. Indeed, we want to implement a realization of things that only very few people perceive. You have to know how to share and recognize your work as it is.</p>
<p class="_grid-p">So don't be shy, and show your work to other artists.</p>
</div>
<div class="_grid-obj _box" data-delay="1s">
<h5 class="_grid-title">Security</h5>
<p class="_grid-p">Your projects will always be fine at Nosfera, and uploaded on a secure server owned by <a href="//otux.cloud">otux.cloud</a>. Regarding your account, your password is encrypted and neither the administrative team has access to it.</p>
<p class="_grid-p">So you can sleep soundly.</p>
</div>
<div class="_grid-obj _box" data-delay="1.4s">
<h5 class="_grid-title">Customization</h5>
<p class="_grid-p">Manage your projects as you wish with our system dedicated to artistic organization.</p>
<p class="_grid-p">Manage your projects as you wish with our system dedicated to artistic organization. You have the ability to create the lists you want, reorganize your dashboard, pin the projects you want, and many more!</p>
</div>
</div>
</div>
</section>
I don’t know why it is not working in the jsfiddle but it normally does.
lasix off label use
advair europe
Wonderful blog you have here but I was curious about if you knew of any user discussion forums that cover the same topics talked about here?
I’d really love to be a part of community where I can get suggestions from other knowledgeable people that share the same interest.
If you have any suggestions, please let me know.
Kudos! http://droga5.net/
advair 125
This blog was… how do I say it? Relevant!!
Finally I have found something that helped me. Thanks a lot! https://herreramedical.org/hydroxychloroquine
Appreciation to my father who told me about this
blog, this weblog is in fact remarkable. http://antiibioticsland.com/Cipro.htm
It’s perfect time to make some plans for the long run and
it’s time to be happy. I have read this publish and if I could I wish to recommend you some interesting things or advice.
Maybe you could write next articles relating to this article.
I desire to read even more things approximately it!
cialis brand name cialis canadian pharmacy canadian cialis
levitra tablete levitra dose levitra online purchase
Howdy, i read your blog occasionally and i own a similar one and
i was just wondering if you get a lot of spam remarks?
If so how do you protect against it, any plugin or anything you can suggest?
I get so much lately it’s driving me insane so any support is very
much appreciated.
viagra pills price sildenafil 100mg prescription viagra 100 mg
buspar vasotec buspirone mdd buspirone hydroxyzine
Woah! I’m really enjoying the template/theme of this site.
It’s simple, yet effective. A lot of times it’s very difficult to get that “perfect balance”
between superb usability and appearance. I must say that you’ve
done a awesome job with this. Additionally, the blog loads extremely quick for me
on Safari. Outstanding Blog!
careprost amazon careprost rx careprost eyelash growth amazon
i need viagra – generic viagra lowest price best generic viagra india
Ahaa, its nice conversation about this paragraph at this place at this blog, I have
read all that, so at this time me also commenting at this
place.
omnicef drug classification omnicef allergy alternative cefdinir side effects fatigue
It’s very straightforward to find out any matter
on web as compared to textbooks, as I found this piece of
writing at this site.
Ahaa, its good dialogue concerning this piece of writing here at this website,
I have read all that, so at this time me also commenting here.
best buy cialis tadalafil citrate powder walmart cialis
I think the admin of this web site is in fact working hard in favor of his
web page, for the reason that here every data is quality based data.
tadalafil 20mg mexico brand cialis 100mg price of tadalafil
Hello. magnificent job. I did not imagine this. This is a splendid story. Thanks!
viagra and alcohol alternative to viagra comprar viagra
I have been browsing online more than 2 hours today,
yet I never found any interesting article like yours.
It is pretty worth enough for me. In my view, if all web owners and bloggers made
good content as you did, the net will be much more useful than ever
before.
vardenafil tablets levitra price in india directions for taking levitra
Thanks for the interesting things you have disclosed in your article. One thing I would like to reply to is that FSBO human relationships are built eventually. By launching yourself to the owners the first weekend break their FSBO is actually announced, prior to a masses begin calling on Wednesday, you generate a good interconnection. By sending them equipment, educational supplies, free reports, and forms, you become a good ally. If you take a personal affinity for them and also their problem, you create a solid relationship that, on most occasions, pays off when the owners decide to go with a real estate agent they know in addition to trust — preferably you.
cialis goodrx cialis drug prices cost cialis australia
I am sure this post has touched all the internet visitors, its really really good piece of writing on building up
new blog.
online pharmacy tadalafil – cialis online us pharmacy cialis online 2.5mg
buy amoxicillin online cheap
stromectol tab price – ivermectin oral ivermectin 0.2mg
buy ventolin inhalers online uk
ocean casino online – ocean casino online slots real money
wellbutrin and prozac together reddit
An impressive share! I’ve just forwarded this onto a co-worker who had been doing a little homework on this.
And he actually ordered me lunch simply because I found it for him…
lol. So let me reword this…. Thank YOU for the meal!!
But yeah, thanx for spending time to discuss this
topic here on your website. https://hhydroxychloroquine.com/
Hey there! Would you mind if I share your blog with my myspace group?
There’s a lot of people that I think would really enjoy your content.
Please let me know. Many thanks http://hydroxychloroquined.online/
I’m really enjoying the theme/design of your web site.
Do you ever run into any browser compatibility problems?
A number of my blog readers have complained about my website
not operating correctly in Explorer but looks great in Safari.
Do you have any suggestions to help fix this issue? https://buszcentrum.com/priligy.htm
cure for ed – erectile dysfunction definition herbal ed treatment
Excellent, what a webpage it is! This blog presents useful
data to us, keep it up. http://cleckleyfloors.com/
generic tadalafil tablets cialis generic tadalafil tadalafil uk generic
I’ve been surfing on-line more than three hours lately, but I by no means found any attention-grabbing article like yours.
It’s beautiful worth enough for me. In my opinion, if all website owners and bloggers made excellent content material
as you did, the net will likely be much more helpful than ever
before.
female viagra i need viagra no rx viagra
It’s the best time to make some plans for the future and it’s time
to be happy. I’ve read this post and if I could
I want to suggest you few interesting things or advice.
Perhaps you could write next articles referring to this article.
I want to read even more things about it!
aleve and meloxicam meloxicam 15 mg dosage meloxicam 15mg dosage
Way cool! Some very valid points! I appreciate you penning this article and also the rest of the website
is extremely good.
metronidazole 500mg use flagyl dosing trichomonas flagyl antibiotic 500mg
Ahaa, its fastidious discussion concerning this post here at this blog, I have read all that, so now me also commenting
at this place.
motilium pdf domperidone maleate structure domperidone motilin
Wow, this post is pleasant, my younger sister is analyzing these kinds of things, thus I am going to let know her.
prednisone 20 mg without prescription – prednisone 20mg no prescription 50mg prednisone tablet
best price for real viagra – sildenafil 130mg online canada viagra cost
cialis 20mg price – Cialis use tadalafil india pharmacy
ivermectin 3mg dose – stromectol purchase stromectol usa
hydrochlorothiazide 25 what does hydrochlorothiazide look like
sertraline hcl 100mg does sertraline contain maoi
duloxetine 30mg half life of cymbalta
quetiapine fumarate dosage for sleep seroquel and xanax
can omeprazole cause constipation omeprazole indication
switching from lexapro to prozac difference sertraline and escitalopram
what are the side effects of amlodipine amlodipine price
rhino ed pills – ed online pharmacy ed pills that really work
lipitor nursing considerations what are the side effects of lipitor
can lisinopril be crushed lisinopril hctz 20 12.5mg
long term side effects zoloft sertraline brand name
cymbalta withdrawal side effects cymbalta and alcohol
is seroquel a controlled substance quetiapine cost
omeprazole 10mg over the counter how long can you take omeprazole
escitalopram night sweats buspar and lexapro
norvasc class blood pressure tablets amlodipine
hydrochlorothiazide/triamterene lisinopril hctz 10-12.5
lisinopril thirsty
acheter cialis cialis pricing cialis mexico cost
benazepril amlodipine is norvasc a blood thinner
lisinopril and ibuprofen interactions
lisinopril alternative lisinopril antidote
cymbalta pain cymbalta 60 mg
is quetiapine used for sleep seroquel addictive
omeprazole and zantac prilosec 10mg
escitalopram pronunciation max dose of escitalopram
amlodipine benazepril side effects hair loss norvasc 2.5
where can i buy cialis online – best online pharmacy usa what’s the best online pharmacy
This post is genuinely a pleasant one it helps new internet people,
who are wishing for blogging. http://herreramedical.org/azithromycin
cialis online usa
buy amoxicilin 500 mg online mexico – buy amoxicillin 500 mg india amoxil no prescription
methylprednisolone 4mg price – buy medrol 4mg lyrica medication generic
zithromax for tooth abscess
help with assignments uk – custom college essay buy an essay online
zyloprim glyburide evista
It’s the best time to make some plans for the future and it is time to be happy.
I have read this post and if I could I wish to suggest you some interesting things or tips.
Perhaps you can write next articles referring to this article.
I wish to read more things about it!
I have been surfing on-line greater than three hours nowadays, yet I by no means found any interesting article like yours.
It’s beautiful value sufficient for me.
In my view, if all webmasters and bloggers made
good content material as you did, the net will likely be a lot more helpful than ever before.
Clomid us
celebrex zocor nolvadex
imovane decadron mysoline
Pretty! This was an extremely wonderful article.
Thanks for providing this information.
lasix abuse
cost stromectol – ivermectin 50ml ivermectin human
buy generic clomid cheap
bactrim indocin celexa
retin flagyl rulide
order accutane on line no prescription – accutane price buy buy accutane online pharmacy
need essay written – buy a term paper online need help writing a paper
I’ve been surfing online more than 3 hours today, yet I never
found any interesting article like yours. It is pretty worth enough for me.
Personally, if all site owners and bloggers made good content as you did, the net will be a lot more useful than ever before.
sildenafil 120mg – USA cialis cialis cost in usa
Anytime.
ivermectin lotion – buy oral stromectol stromectol ireland
super saver pharmacy – tadalafil 10mg get cialis
Wow! This blog looks just like my old one! It’s
on a totally different subject but it has pretty
much the same page layout and design. Outstanding choice
of colors! http://antiibioticsland.com/Flagyl_ER.htm
We’re a group of volunteers and opening a new scheme in our community.
Your web site provided us with valuable information to work on. You have done a formidable job and our entire community will be grateful to you. http://harmonyhomesltd.com/Ivermectinum-precautions.html
Do you have a spam issue on this blog; I also am a blogger, and I was
curious about your situation; we have developed some nice procedures and we are looking to trade methods with other folks, why not shoot me an e-mail if interested. http://herreramedical.org/viagra
Very nice article. I absolutely love this site. Continue the good work! http://ciaalis2u.com/
stromectol ireland – cost ivermectin ivermectin uk coronavirus
write my paper – where can i buy an essay college essay service
Hi there, I read your new stuff on a regular basis.
Your story-telling style is witty, keep it up!
can i buy prednisone over the counter in mexico – prednisone 5mg without prescription cheap deltasone
I really like reading a post that can make people think.
Also, many thanks for allowing for me to comment!
mexico pharmacy accutane – generic accutane buy accutane cream
buy generic plaquenil – plaquenil 400mg brand buy valacyclovir 500mg for sale
buy sildalis online cheap – brand propecia 5mg cheap metformin
purchase ampicillin online – oral metronidazole buy hydroxychloroquine online cheap
plaquenil 400mg drug – plaquenil 200mg tablet plaquenil 200mg ca
I’ve been browsing online more than three hours as of late, but I by no means discovered any attention-grabbing article like yours.
It is lovely price sufficient for me. In my view, if all web owners and bloggers made excellent content as you probably did, the
web shall be much more useful than ever before.
tadalafil generic where to buy tadalafil liquid
lisinopril tablet – cost tenormin prilosec 10mg for sale
cialis without a prescription tadalafil cialis
generic tadalafil from uk tadalafil side effects
tadalafil brands where to buy tadalafil on line
tadalafil cialis tadalafil generic where to buy
cialis without a prescription where to buy generic cialis online safely
tadalafil order online no prescription cost of cialis
buy generic cialis online with mastercard https://cialisedot.com/