Skip to content

Commit beafc33

Browse files
committed
fix: remove data- from attributes
1 parent 2405c73 commit beafc33

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h2>CoCreate-parallax</h2>
3333
</div>
3434
<div class="display:flex align-items:center font-size:20px position:absolute right:0 padding:5px background:white">
3535
<div class="display:flex align-items:center transition:0.3s padding-left:10px" share-network="true" share-text="A stunning css effect in which the background moves at a slower pace than the foreground. Resulting in 3D effect when users scroll up/down the webpage."
36-
share-title="CoCreate-parallax" share-height="600" share-width="700" share-media="https://cdn.cocreate.app/docs/parallax.png" data-hover="display:block!important" hover-target=".social-networks">
36+
share-title="CoCreate-parallax" share-height="600" share-width="700" share-media="https://cdn.cocreate.app/docs/parallax.png" hover="display:block!important" hover-target=".social-networks">
3737
<div class="display:none social-networks">
3838
<a class="margin-right:15px" share-network='twitter' title="Share on twitter"><i class="fab fa-twitter"></i></a>
3939
<a class="margin-right:15px" share-network='facebook' title="Share on Facebook"><i class="fab fa-facebook"></i></a>
@@ -48,7 +48,7 @@ <h1 class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-
4848
<div id="parallax-section" class="display:flex flex-wrap:wrap">
4949
<div class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px">
5050
<div id="parallax-install" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#parallax-install-section">
51-
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" hover-target='[href="#parallax-install"]'>
51+
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#parallax-install"]'>
5252
<h2 class="padding:5px_0px">Install</h2>
5353
<a class="margin-left:10px display:none" href="#parallax-install"><i class="fas fa-link"></i></a>
5454
</span>
@@ -58,7 +58,7 @@ <h2 class="padding:5px_0px">Install</h2>
5858
<pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/parallax/latest/CoCreate-parallax.min.js&lt;/script&gt;</code></pre>
5959

6060
<div id="parallax-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#parallax-usage-section">
61-
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" hover-target='[href="#parallax-usage"]'>
61+
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#parallax-usage"]'>
6262
<h2 class="padding:5px_0px">Usage</h2>
6363
<a class="margin-left:10px display:none" href="#parallax-usage"><i class="fas fa-link"></i></a>
6464
</span>
@@ -73,7 +73,7 @@ <h2 class="padding:5px_0px">Usage</h2>
7373
<p class="padding:10px_0px line-height:1.5">This is parallax usage</p>
7474
</div>
7575
<div id="parallax-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#parallax-attributes-section">
76-
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" hover-target='[href="#parallax-attributes"]'>
76+
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#parallax-attributes"]'>
7777
<h2 class="padding:5px_0px">Attributes</h2>
7878
<a class="margin-left:10px display:none" href="#parallax-attributes"><i class="fas fa-link"></i></a>
7979
</span>
@@ -93,7 +93,7 @@ <h4><span>parallax</span> <span class="cocreate-badge success">string</span> <sp
9393
<div class="flex-grow:1 width:300px padding:0px_10px margin-top:60px border-bottom:1px_solid_lightgrey">
9494
<!-- SandBox -->
9595
<div id="parallax-demo" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#parallax-demo-section">
96-
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" hover-target='[href="#parallax-demo"]'>
96+
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#parallax-demo"]'>
9797
<h2 class="padding:5px_0px">Demo</h2>
9898
<a class="margin-left:10px display:none" href="#parallax-demo"><i class="fas fa-link"></i></a>
9999
</span>

0 commit comments

Comments
 (0)