Issues with signal animation functionality occurring on jsFiddle are presenting a challenge

I've been attempting to replicate the animation effect featured on http://codepen.io/cayoub88/pen/DCemr using JsFiddle, but unfortunately, I haven't had much success. Any idea why this might be happening?

You can view my fiddle at http://jsfiddle.net/9pknjor8/

Here's the code snippet:

body {
  background: #428CD6;
}
.signal {
  border: 3px solid #fff;
  border-radius: 30px;
  height: 30px;
  left: 50%;
  margin: -15px 0 0 -15px;
  opacity: 0;
  position: absolute;
  top: 50%;
  width: 30px;
  animation: pulsate 1s ease-out;
  animation-iteration-count: infinite;
}
@keyframes pulsate {
  0% {
    transform: scale(.1);
    opacity: 0.0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}
<div class="signal"></div>

Answer №1

To make it work on jsfiddle, you need to define webkit, moz, etc. However, this is not necessary in codepen thanks to the autoprefixer feature (). I tested this in my chrome browser and it worked fine: http://jsfiddle.net/9pknjor8/2/

.signal {
border:3px solid #fff;
border-radius:30px;
height:30px;
left:50%;
margin:-15px 0 0 -15px;
opacity:0;
position:absolute;
top:50%;
width:30px;

-webkit-animation: pulsate 1s ease-out;
-webkit-animation-iteration-count:infinite;
}

@-webkit-keyframes pulsate {
0% {
  transform:scale(.1);
  opacity: 0.0;
}
50% {
  opacity:1;
}
100% {
  transform:scale(1.2);
  opacity:0;
}

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

Troubleshooting Problems with jQuery, Ajax, and iOS

Has anyone encountered any issues specifically with using jQuery, Ajax events, and iOS? I work as a web analyst and we are facing problems with iOS during the checkout process on our website. We rely on jQuery and Ajax events to manage the shopping basket ...

The React application ceases to function properly as soon as I introduce a textfield

As a newcomer to React, I am facing an issue while working on the front-end UI of a web application. Whenever I try to add a text field to the box I created, the app fails to render anything other than a blank color on the screen. Here is how it looks: W ...

Achieve harmony in the If statement by accommodating one condition with multiple values

Currently, I have code written to exclude breadcrumbs from certain Prestashop 1.7 pages such as the index and order-confirmation pages. However, I am looking for a more efficient way to write this code as I plan to exempt breadcrumbs from additional web pa ...

What is the best way to make a checkbox trigger a link on a WordPress blog?

We're looking to offer our blog visitors the ability to download content, such as code for usage. However, we want to ensure that users have reviewed the "License/Copyright" information beforehand. We envision a simple checkbox where they must agree t ...

Tips for attaching functions to a fresh SVG element with jQuery?

My jQuery code creates an <svg> element and appends it to a <div>. When I try to access the appended <svg> using each() after the append() function, the event handler doesn't work. However, if I create the <svg> element before ...

Challenge with shifting list items

The issue arises when applying margin to any element within the product or slider div, causing all list items to shift downwards. .product-slider { margin-top: 16px; text-align: center; } .slide-item { list-style-type: none; display: inline; ...

"The Fieldset Legend Mystery: Unraveling Internet Explorer's

I'm at my wit's end. Currently, I am customizing the front end of an ASP.NET built website, and one of the sections includes a fieldset with a legend. However, this specific area appears differently on IE, Firefox, and Chrome. Out of the three, ...

Engaging polygonal shapes that reveal unique text upon interaction

UPDATE: Hello everyone, I wanted to share my progress with you all: http://jsfiddle.net/vsJMn/ (I've been testing with the 'RaphaelJS australia' example) The only issue I'm facing now is how to reset an element back to its original st ...

Utilizing plain HTML, the input type date feature can be customized to restrict the minimum date selection to January 1,

What is the proper way to define a minimum date for <input type="date"> in HTML? I attempted using the min attribute, but it did not produce the desired result. Appreciate any help on this matter. ...

Loading indicator for the Worklight application

Our app's loading process is quite lengthy, so to keep the user informed that the app is indeed working and just needs time to load, we decided to implement a loading/initializing indicator. I initially attempted to use WL's busy indicator but fo ...

What could be causing the overlap between the button and the div element?

My main wrapper div contains a content div and a button. However, I'm facing an issue where the button is overlapping with the content div instead of appearing below it. The content div is styled with the following CSS: #groupMembers { position: ...

Display a popup when a label is clicked, and update the popup contents according to the label chosen

Upon clicking any label in the #nav section, a popup is displayed. However, I want the content inside the popup to change depending on which label is clicked. Currently, the different popup content divs will all hide or show based on CSS only, so I believe ...

Ensure that the flex items are utilizing the full height of the parent when the flex-direction property is set to row

I'm currently working on a layout with 3 flex items in a flex container, each having equal height and width. While I've managed to achieve equal width for all 3 items, there's an issue with the first item. It contains a div (.images) that se ...

Utilizing a variable in a for loop with Django

I am a beginner in the world of Python and Django framework and I am encountering a small hurdle when trying to assign a variable to my for loop. Within my html file, there are buttons and a list (generated through a loop). For example: Buttons <li&g ...

Is Object Cloning the Solution for Creating Multiple Views in THREE.js with Multiple Canvasses? Considerations to Keep in Mind

While seeking advice on object picking from small three.js viewport, I learned a technique for mouse-picking objects from a smaller canvas. Now, I am looking to showcase N different views of the same scene while still being able to perform object picking. ...

Shifting the image below the text for mobile display

My goal is to place an image below a block of text when viewed on a mobile device, but currently, the image is covering the text. Here is how it appears on desktop: [![enter image description here][1]][1] This is the current mobile view (the image is ov ...

Steps for splitting a numbered list and adding an image above each item:

I have a challenge I'm trying to tackle with my list: My goal is to create a long, numbered list that is divided into different sections I also want to include an image within each list item and have it display above the numbered title of the sectio ...

Exploring smooth scrolling functionality using AngularJS and integrating it with IFrames

After implementing an angular controller, I included the following code: angular.element(document).ready(function () { ... } Within this setup, I added a function to enable smooth scrolling to the hash of window.location.hash using .animate({scrollTop... ...

What is the best way to highlight matching words from a list in a Django form's textarea using JavaScript?

I am working with the following form: class TestForm(Form): testfield = CharField(widget=Textarea(attrs={'rows': 10, 'id': 'test'}), label='Input test text here') Displayed in my template along with this context ...

Learn how to dynamically update a user's profile picture in the navbar when clicked using Angular

When I have a navbar (see code below) and set *ngIf = "user", I attempt to display the user's avatar in the navbar but only see a placeholder. However, after refreshing the page, the user avatar appears. Therefore, I am curious about how I can refresh ...