Chrome's refusal to cooperate with CSS animation troubleshooting

This is a duplicate warning, my apologies for that.

After reading several similar posts and attempting various solutions, I am still unable to get it to work.

I have a very basic animation that involves hiding, showing, and image.

#top_heading .chmurka2{
position:absolute;
top:0;
left:257px;
-webkit-animation: top_chmurka2 8s 1s infinite alternate;
   -moz-animation: top_chmurka2 8s 1s infinite alternate;
    -ms-animation: top_chmurka2 8s 1s infinite alternate;
     -o-animation: top_chmurka2 8s 1s infinite alternate;
        animation: top_chmurka2 8s 1s infinite alternate;

}

@-webkit-keyframes top_chmurka2 { /*chrome and safari*/
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-moz-keyframes top_chmurka2{ /*mozilla*/
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-ms-keyframes top_chmurka2{ /*before IE 10*/
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-o-keyframes top_chmurka2{ /*IE9+, Opera*/
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@keyframes top_chmurka2 { /*standard*/
  0%  { opacity:1; }
  50% { opacity:0; }
  100% { opacity:1; }
}

The animation functions correctly on all major browsers except Chrome, even when using -webkit-. Can someone explain why this might be happening? (I also attempted including -webkit- within the keyframes rules, but that did not resolve the issue either)

Answer №1

It seems that my animation code is working properly, but unfortunately my chrome browser is not cooperating.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Display Text Using a Variety of HTML Styles

Is there a way to achieve the following setup: HTML: <p>ABC</p> Output: DEF I am inquiring about this because I need to create an email template that includes the HTML snippet must contain <p>${__VCG__VAL__FIRST_NAME}</p> (where ...

Difficulty Clicking Links with CSS 3D Transformation

I'm currently working on implementing a CSS 3D transform effect on my website. However, I am encountering some issues with clicking the links once the card has been flipped over. Question Why is this happening? How can I resolve this so that I can ...

How come the translateX function doesn't function properly for fixed elements in IE9, IE10, and IE11?

Presently, I am endeavoring to obtain the desired outcome in Internet Explorer versions 9, 10, and 11 (functions flawlessly on Chrome and Firefox): When in mobile mode, there is a principal #container envelop that encompasses the entire website content al ...

Avoid controlling the arrangement (parallel alignment)

Check out my fiddle here: http://jsfiddle.net/BFSH4/ In this fiddle, I'm facing two main issues: The h1 and h2 elements are not lining up vertically. The nav and content sections are not aligning horizontally. I've tried adjusting margins and ...

Interactive mobile navigation featuring clickable elements within dropdown menus

I recently implemented a mobile nav menu based on instructions from a YouTube tutorial that I found here. Everything was working perfectly until I encountered an issue on the 'reviews list' page. The dropdown in the mobile nav is supposed to be ...

Angular-dc bar graph failing to display properly

I'm having some trouble creating a bar chart using crossfilter, dc.js, and angular-dc. The rowchart is working properly, but the barchart is not displaying the bars. When I inspect the element in Chrome, I can see the values, and when I force focus, t ...

Closing the Bootstrap Dropdown Menu

I have a dropdown menu in my bootstrap project. I am looking for a way to make the menu close when I click on one of the menu items, without refreshing the page. The links function like an ajax request model, ensuring that the page does not reload. <l ...

To add a code snippet to the right side of a paragraph using CSS, place it at the end of the

Is there a way to insert code at the end of each paragraph and have it aligned to the right on the same line as the last sentence? Update: I initially tried using float:right, but encountered an issue with vertically aligning the code with the last line ...

Display Highcharts in an HTML table format

As I work on developing a system that generates various types of graphs, my goal is to synchronize a chart and table so that when the chart is DRILLDOWNED, the table will also update. Is there a method to convert the data currently displayed by HighChart ...

Customizing Bootstrap by incorporating my own external stylesheet

I've been working on learning Bootstrap and decided to challenge myself by trying to recreate this website: However, I'm encountering difficulties when it comes to overriding Bootstrap and incorporating my own custom font. I attempted to add a G ...

"Exploring the option of using a fly-in feature to add multiple items with checkboxes in HTML

I need to implement a feature where I can select multiple items using checkboxes and retrieve them when a popup is closed. Here's what I want to achieve: Is there a way to accomplish this? Imagine I have a div with several items, and I want to displ ...

How can I remove the gaps between Bootstrap panels on a website?

The Issue https://i.stack.imgur.com/I5EFR.png My problem is with the spacing between the panels, highlighted in red. I've attempted to remove them by using the following CSS: .panel { margin-top: 0; margin-bottom: 0; padding-top: 0; ...

React: Issue with CSS heights in grid-container not updating when state changes

In a container div, I have three elements: headerContainer, diagramContainer, labelContainer. The container has a fixed height and I want all elements to fill it. The diagramContainer should adjust its height dynamically based on the labelContainer's ...

After a slight delay, the animated element twitches into action

I am currently working on implementing a menu item behaviour in the header similar to the one found at: . On this webpage, there is a bar that slides back and forth when hovering over elements. However, I am unable to add another element to my header, so I ...

Unable to eliminate blue highlighting in Chrome when an element is in focus

After clicking on the search button, there seems to be a persistent blue outline that CSS is not correctly removing despite the settings I've applied. Here is the CSS code I have used: input:focus { -webkit-tap-highlight-color: rgba(0,0,0,0); outl ...

Is it possible to detect text overflows in HTML using only CSS?

Is there a way in 2013 to use CSS to detect and respond to text overflowing an HTML element? I've read about using JavaScript for this, but I'm curious if the CSS spec offers a solution. For example, having a fixed size div like this: <div c ...

How to create a gelatin-like effect on a rectangle using HTML5 canvas

Currently, I'm working on a platformer game project in JavaScript. The concept involves players as rectangles jumping on and off platforms. While the basic functionality is set up, I'm now aiming to incorporate a unique 'gelatine effect&apos ...

Having trouble with your Bootstrap 4 Dropdown Menu?

I attempted to implement the dropdown menu example from Bootstrap 4, but unfortunately it does not seem to be working as expected. The dropdown menu does not appear when clicked. <li class="nav-item dropdown"> <a class="nav-link dropdown-to ...

The Bootstrap 4 Dropdown Menu is positioned on the right side of its parent element

Just started using Bootstrap and have a query regarding my Navbar design. Check out my trial website at TEST-DOMAIN Currently utilizing Bootstrap 4.3.1 along with JQuery 3.4.1. The menu looks perfect on Desktop view. The dropdown displays as expected. I ...

Tips for creating a condensed header

As a newcomer to HTML, I am facing challenges in creating a simple header similar to the one displayed on this website or the example in the image below. Below is the snippet of HTML that I have attempted: <header class="header"> <div ...