Implement scroll animations across multiple sections in HTML files. Update CSS to define animation styles and visibility transitions for elements with the class "animate-on-scroll".
This commit is contained in:
1 parent
535600ab5c
commit
2aea656f0b
13 files changed
+201
-152
No files matched your search
+9
-9
@@ -117,11 +117,11 @@
|
||||
|
||||
<section class="immediate-help-section section--teal" aria-labelledby="immediate-help-heading">
|
||||
<div class="immediate-help-content site-container">
|
||||
<div class="immediate-help-intro">
|
||||
<div class="immediate-help-intro animate-on-scroll">
|
||||
<p class="section-tag text-yellow">Need help right now?</p>
|
||||
<h2 id="immediate-help-heading" class="text-white">If you are in immediate danger, call 911.</h2>
|
||||
</div>
|
||||
<div class="statewide-contact">
|
||||
<div class="statewide-contact animate-on-scroll">
|
||||
<p class="all-caps-tag text-gray">Iowa Victim Service Call Center</p>
|
||||
<a class="contact-link statewide-contact-link" href="tel:+18007701650">1-800-770-1650</a>
|
||||
</div>
|
||||
@@ -131,28 +131,28 @@
|
||||
<section class="reach-out-section">
|
||||
<img width="788" height="788" decoding="async" loading="lazy" class="logo-faded" src="../img/logo-small.png" alt="">
|
||||
<div class="reach-out-content site-container">
|
||||
<div class="reach-out-heading content-stack">
|
||||
<div class="reach-out-heading content-stack animate-on-scroll">
|
||||
<p class="section-tag text-teal">How it works</p>
|
||||
<h2>One conversation. One next step.</h2>
|
||||
<p class="description description--small">There is no perfect way to ask for help. Start wherever you are, and we will take it from there together.</p>
|
||||
</div>
|
||||
|
||||
<ol class="reach-out-steps divided-list">
|
||||
<li class="reach-out-step numbered-row">
|
||||
<li class="reach-out-step numbered-row animate-on-scroll">
|
||||
<span class="item-number">01</span>
|
||||
<div>
|
||||
<h3>We listen first.</h3>
|
||||
<p>You can tell us what is happening, what you are worried about, or simply that you are not sure what to do.</p>
|
||||
</div>
|
||||
</li>
|
||||
<li class="reach-out-step numbered-row">
|
||||
<li class="reach-out-step numbered-row animate-on-scroll">
|
||||
<span class="item-number">02</span>
|
||||
<div>
|
||||
<h3>We find the next honest step.</h3>
|
||||
<p>That might mean talking through immediate needs, looking at available resources, or making a plan for what comes next.</p>
|
||||
</div>
|
||||
</li>
|
||||
<li class="reach-out-step numbered-row">
|
||||
<li class="reach-out-step numbered-row animate-on-scroll">
|
||||
<span class="item-number">03</span>
|
||||
<div>
|
||||
<h3>We keep walking alongside you.</h3>
|
||||
@@ -165,17 +165,17 @@
|
||||
|
||||
<section class="safety-guide-section section--teal">
|
||||
<div class="safety-guide-content site-container">
|
||||
<div class="safety-guide-copy content-stack">
|
||||
<div class="safety-guide-copy content-stack animate-on-scroll">
|
||||
<p class="section-tag text-white">Staying safe</p>
|
||||
<h2 class="text-white">Worried someone can see where you have been?</h2>
|
||||
<p class="description text-white">Learn about browsing history, phone location settings, and things to consider before you leave.</p>
|
||||
</div>
|
||||
<a class="btn btn--large btn--yellow" href="../staying-safe/">Read the Safety Guide</a>
|
||||
<a class="btn btn--large btn--yellow animate-on-scroll" href="../staying-safe/">Read the Safety Guide</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="contact-reminder-section">
|
||||
<div class="contact-reminder-content site-container content-stack">
|
||||
<div class="contact-reminder-content site-container content-stack animate-on-scroll">
|
||||
<p class="section-tag text-teal">Whenever you are ready</p>
|
||||
<h2 class="text-black">No paperwork to start.<br>Just a conversation.</h2>
|
||||
<div class="contact-reminder-actions">
|
||||
|
||||
Reference in new issue
Block a user