Animated bar not working in profile

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
User avatar
Kami-sama
Registered User
Posts: 137
Joined: Sat May 26, 2018 3:07 pm

Animated bar not working in profile

Post by Kami-sama »

SO I have this code. It works great in topic posts. But not in the profile or profile info next to post. Any idea how to make the animated style working? Without the STYLE part that creates animation it shows up everywhere correctly.

Code: Select all

<style>
@keyframes move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 28px 0;
  }
}
</style>

<div style="background-color: #1a1a1a; height: 7px; padding: 2px; width: 200px;"><div style="width: 30%; height: 5px; border: 1px solid maroon; border-radius: 3px; background-image: repeating-linear-gradient(-45deg, red, maroon 11px, red 10px, red 20px); background-size: 18px 18px; animation: move .5s linear infinite;"></div></div>
Post Reply

Return to “phpBB Custom Coding”