Vinoir
-
Posts
19 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Status Updates posted by Vinoir
-
Wondering if you can help!
I need to create a simple white solid shape arrow (a long triangle) that bobs up and down and fades in and out. The shape i'd like this for is the first image below. I found one on these forums that is more of a 'v' shape, now I'd like one that is a solid white triangle that has the same effect.
Hoping someone can help me, would be massively grateful. It's to invite people to scroll down in a nice discreet way that fits with the page design.
Here's the code I found that I'd like something similar for this new arrow.
--
<div class="scroll-down2"></div>
<style>
.scroll-down2 {
position: absolute;
left: 50%;
bottom: 10px;
display: block;
text-align: center;
font-size: 20px;
z-index: 100;
text-decoration: none;
text-shadow: 0;
width: 10px;
height: 10px;
border-bottom: 8px solid white;
border-right: 8px solid white;
z-index: 9;
left: 50%;
-webkit-transform: translate(-50%, 0%) rotate(45deg);
-moz-transform: translate(-50%, 0%) rotate(45deg);
transform: translate(-50%, 0%) rotate(45deg);
-webkit-animation: fade_move_down 4s ease-in-out infinite;
-moz-animation: fade_move_down 4s ease-in-out infinite;
animation: fade_move_down 4s ease-in-out infinite;
}
/*animated scroll arrow animation*/
@-webkit-keyframes fade_move_down {
0% { -webkit-transform:translate(0,-10px) rotate(45deg); opacity: 0; }
50% { opacity: 1; }
100% { -webkit-transform:translate(0,10px) rotate(45deg); opacity: 0; }
}
@-moz-keyframes fade_move_down {
0% { -moz-transform:translate(0,-10px) rotate(45deg); opacity: 0; }
50% { opacity: 1; }
100% { -moz-transform:translate(0,10px) rotate(45deg); opacity: 0; }
}
@keyframes fade_move_down {
0% { transform:translate(0,-10px) rotate(45deg); opacity: 0; }
50% { opacity: 1; }
100% { transform:translate(0,10px) rotate(45deg); opacity: 0; }
}
</style>
--
this is the correct arrow shape i'd like to 'animate with code' -
Wondering if you can help!
I need to create a simple white small solid shape arrow (a long triangle) that bobs up and down and fades in and out. The shape i'd like this for is the first image below. I found one on these forums that is more of a 'v' shape, now I'd like one that is a solid white triangle that has the same effect.
Hoping someone can help me, would be massively grateful. It's to invite people to scroll down in a nice discreet way that fits with the page design.
Here's the code I found that I'd like something similar for this new arrow.
--
<div class="scroll-down2"></div>
<style>
.scroll-down2 {
position: absolute;
left: 50%;
bottom: 10px;
display: block;
text-align: center;
font-size: 20px;
z-index: 100;
text-decoration: none;
text-shadow: 0;
width: 10px;
height: 10px;
border-bottom: 8px solid white;
border-right: 8px solid white;
z-index: 9;
left: 50%;
-webkit-transform: translate(-50%, 0%) rotate(45deg);
-moz-transform: translate(-50%, 0%) rotate(45deg);
transform: translate(-50%, 0%) rotate(45deg);
-webkit-animation: fade_move_down 4s ease-in-out infinite;
-moz-animation: fade_move_down 4s ease-in-out infinite;
animation: fade_move_down 4s ease-in-out infinite;
}
/*animated scroll arrow animation*/
@-webkit-keyframes fade_move_down {
0% { -webkit-transform:translate(0,-10px) rotate(45deg); opacity: 0; }
50% { opacity: 1; }
100% { -webkit-transform:translate(0,10px) rotate(45deg); opacity: 0; }
}
@-moz-keyframes fade_move_down {
0% { -moz-transform:translate(0,-10px) rotate(45deg); opacity: 0; }
50% { opacity: 1; }
100% { -moz-transform:translate(0,10px) rotate(45deg); opacity: 0; }
}
@keyframes fade_move_down {
0% { transform:translate(0,-10px) rotate(45deg); opacity: 0; }
50% { opacity: 1; }
100% { transform:translate(0,10px) rotate(45deg); opacity: 0; }
}
</style>
--