Issue I’m trying to attach js-defined animations to the ng-class directive via the usual syntax using add and remove but the animations won’t run. Logging reveals that the add and remove functions don’t get called. app.animation( “.bob”, function () {
Continue readingTag: animation
ListView Long Click Animation
Issue I would like to capture long click events in a ListView, which was easily done using a OnItemLongClickListener. However, that lacks the fading animation of the selector transitioning to a long press that is seen when the long click
Continue readingCard Carousel Angularjs
Issue I am trying to implement this animation Jargon.html <ion-view title=”Jargon”> <ion-content> <a class=”item” href=”#/jargon”></a> <div class=”container”> <div data-card=”4″ class=”card”><span>Click Me</span></div> <div data-card=”3″ class=”card”><span>Click Me</span></div> <div data-card=”2″ class=”card”><span>Click Me</span></div> <div data-card=”1″ class=”card”><span>Click Me</span></div> <div data-card=”0″ class=”card”><span>Click Me</span></div> </div> </ion-content> The
Continue readingHow to disable long-press animation of context menu for CollectionView iOS Swift?
Issue My ViewController have the three UICollectionView for all the UICollectionView I did create contextMenu, but for the last UICollectionView I am don’t want to show the menu and for <return UIContextMenuConfiguration(identifier: nil, previewProvider: nil)> all work well but for
Continue readingng-animate with ng-class directive
Issue You can use ng-animate with ng-class with the add and remove animations. I’m looking to make one animation in CSS3 but haven’t found good examples with ng-class online. So I was wondering if people have good examples they want
Continue readingWait before setting a new value to a variable in Angular 2
Issue I’m trying to animate a message that appears and then disappears after some seconds. In my template: <p [ngClass]=”{‘show-message’: showMessage, ‘hide-message’: !showMessage}”>My message!!</p> My CSS: .show-message { opacity: 1; transition: .5s ease-in-out all; } .hide-message { opacity: 0; transition:
Continue readingAnimate Between Classes Angular 2
Issue Is there an Angular 2 way to animate between classes? <div class=”home-carousel-head” id=”full-screen-carousel” [ngClass]=”{tab_one: tab_one, tab_two: tab_two, tab_three: tab_three}”> I want to fade out or fade in when the class changes between each tab, this was easy with Angular
Continue readingAnimation in viewDidLoad is glitching out
Issue I’m working on a loading animation for an app and I put the animation code within a button press for debugging purposing and such. I tried it in the viewdidload method and it doesn’t do even close to the
Continue readingUse @HostBindings instead host in angular 4
Issue I just try to make animation with angular 4 and I saw tutorial that use host in the component import { Component, OnInit, HostBinding } from ‘@angular/core’; import { AngularFire, AuthProviders, AuthMethods } from ‘angularfire2’; import { Router }
Continue readingngAnimate – both source and target template are visible while animation
Issue I try to create a simple fade-in fade-out animation using ngAnimate. The animation looks good except that the container of the view contains both the source and the target template while animation. How can I show the active template
Continue readingangular2 ng2-bootstrap collapse animation workaround
Issue I am aware the issue that currently the animation code in ng2-bootstrap is commented out due to the unavailability of angular2’s directive animation support. Therefore I created a workaround by using angular2’s animate in my component. animations: [ trigger(‘slideMenu’,
Continue readingImproving of JS function for different ID (flip cadrs)
Issue I’am trying to build up the site, and I had a problem with JS function. So the question is, do you have any thoughts about improving this JS fragment for work with different ID’s (means If I click on
Continue readingStopping a blinking cursor at end of css animation
Issue I guys I have tried a lot of things that didn’t work. I have a css animation with a blinking cursor. I am trying to use it in this game I’m developing. Link to game for visual reference: https://code.sololearn.com/WF65X6DEns7o/#css
Continue readingMake a div smaller when scrolling
Issue Hi i tried to make the div smaller wqhen scrolling. however i found some article that the div is small then when scroll it make bigger. i wanted the opposite. when run the image is 100% then when scroll
Continue readingCalculate transform scale [ transform: scale(x, y) ] as the function of elapsed time
Issue I have a container that is expanded and collapsed on click of chevron icon. The code to collapse/expand the container is in the function transformAnimation. The code of transformAnimation is similar to the code on MDN web docs for
Continue readingCSS animation using translateX instead of margin-left, is it possible?
Issue Recently I ran into the video demonstrating difference between margin and transform animations. Unfortunately I can’t remember video title or link. but basically it claimed that using transform:translateX() was way smoother than margin-left, especially on throttling mode. I made
Continue readingAny links Im missing – HTML/CSS
Issue I have the code: var score = 0; $(‘button’).click(function() { $(‘#shot’).addClass(‘shot-animation’); $(‘#shot’).one(‘animationend’, function() { if (collision($(‘#shot’), $(‘#bar’))) { var audio = document.getElementById(“collision-sound”); audio.play(); $(‘#bar’).addClass(‘bar-flash’); $(‘#bar’).one(‘animationend’, function(e) { if (e.originalEvent.animationName === ‘flash’) { $(‘#bar’).removeClass(‘bar-flash’); } }); ++score; $(‘#score’).text(score); if (score
Continue readingOnMouse enter add opacity transition of image
Issue I have two images one laying right on top of another. I figured out how to show the image onMouse Enter but can’t seem to figure out where to call the css transition property. Basically I’m trying to add
Continue readingStyled Components cannot set :hover properties
Issue export const WatchVideoButtonWrapper = styled.div` position: absolute; bottom: 80px; right: 33px; background-color: ${(props) => props.bgColor}; color: ${(props) => props.color}; border-radius: 100px; transition: all 0.1s; cursor: pointer; fill: ${(props) => props.color}; &:hover { background-color: ${(props) => props.hoverBgColor}; color: ${(props) =>
Continue readingBackground-position not working with CSS animation and linear gradient
Issue I’m attempting to use CSS3 (gradients and animations) to make an animation similar to the iphone slide to unlock gradient. However, for some reason, the background-position only works when I use static pixel numbers and not when I use
Continue readingHow do I align my border animation in the center with the text
Issue I’m using this border animation https://codepen.io/FlorinCornea/pen/KKpvRYo but I’m trying to make it responsive by wrapping it in bootstrap however now its sticking to the left and I cant seem to center it This is my DEMO: .circle-wrapper { position:
Continue readingHow to pause and run just one SMIL animation in svg?
Issue I have an SVG that has two SMIL animations. I want to control just the animations for one path (has id="poi_front" for the group) by pausing and running them using buttons, and let the animations for the other SVG
Continue readingCSS3 Property animation-fill-mode: What's the difference with "both" and "forwards"
Issue What’s the difference with “animation-fill-mode: both” and “animation-fill-mode: forwards”?? In my opinion ,They all retain the computed values set by the last keyframe.Can anybody give me an example? Solution animation-fill-mode: both combines animation-fill-mode: forwards, and animation-fill-mode: backwards. When animation-fill-mode:
Continue readingMove social bar to the left on hover
Issue I would like to have a social bar on the right, and scrolling with the page. This is ok, but I would like to add some behaviors: If you hover the facebook logo, the logo moves to the left,
Continue readingSlide up animation for text using CSS only
Issue I’m trying to reproduce this specific text animation, shown here They’re able to make it appear as if there is a mask or something and the sentences slide up from behind it. I think this would be easier if
Continue readingAnimation delay between elements
Issue I have a simple reveal animation created with javascript, the problem im having is that the elements on the same row all enter together and i will like to have a small delay between them that im not beeing
Continue readingAnimation in CSS/JS
Issue What links would I need to have this animation work properly on any other IDE’s? Does anyone know? The animation works fine here: https://codepen.io/ksu/pen/VwZQmGR new WOW().init(); /* AUTHOR LINK */ $(‘.about-me-img img, .authorWindowWrapper’).hover(function() { $(‘.authorWindowWrapper’).stop().fadeIn(‘fast’).find(‘p’).addClass(‘trans’); }, function() { //$(‘.authorWindowWrapper’).stop().css(‘display’,
Continue readingRemoving footer in HTML/CSS
Issue I have this code: new WOW().init(); /* AUTHOR LINK */ $(‘.about-me-img img, .authorWindowWrapper’).hover(function() { $(‘.authorWindowWrapper’).stop().fadeIn(‘fast’).find(‘p’).addClass(‘trans’); }, function() { //$(‘.authorWindowWrapper’).stop().css(‘display’, ‘none’).find(‘p’).removeClass(‘trans’); }); body { font-family: Open Sans, “Helvetica Neue”, “Helvetica”, Helvetica, Arial, sans-serif; font-size: 13px; background-color: #000000 !important; background-size: cover;
Continue readingStart & Stop lottie player/animation with buttons
Issue Very basic stuff, but im still struggling with javascript. I have this lottie animation, which is not svg. <script src=”https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js”></script> <lottie-player src=”https://assets2.lottiefiles.com/packages/lf20_6gduajmo.json” background=”transparent” speed=”1″ style=”width: 300px; height: 300px;” controls></lottie-player> <button id=”start”>START</button> <button id=”stop”>STOP</button> My goal is to have a
Continue readingHow to rotate svg circle in place?
Issue I’m trying to make this icon rotate like this: https://www.youtube.com/watch?v=Y61pjmWLSn8 At the moment the icon is moving all over the place. How can i make the icon rotate like the video? path { transform-origin: 50px 50px; animation-duration: 3s; animation-name:
Continue readingUnintended CSS Reversing Animation
Issue I’m trying to make an icon button to rotate on click, but every time I remove the class, it spins backwards, I wanted to do in a way that every time it’s clicked, it only spins clockwise. const btn
Continue readingAnimating Linear Gradient
Issue I need some help smoothing my animation, I’ve tried doing it according to a similar question here, on StackOverflow, but it doesn’t seem to work. It just roughly changes the gradients. The goal is to animate it like the
Continue readingWhy CSS animation (rotate) does not work in iOS 15.4
Issue I have an SVG icon and I have applied some CSS animation (rotation) to it, using inline CSS inside the SVG file (below you can see my code and run the snippet). My problem is that, although the animation
Continue readingSVG continuous inwards square spiral animation with pure CSS/JS
Issue I need some help with this kinda specific animation. It is a square spiral pattern that keeps going inwards until it’s fully complete. I somewhat did manage to get it going but I don’t know how to stop the
Continue readingI want this message to be shown twice at intervals
Issue I made this welcome feature using HTML and CSS, which I want to display twice at instances. ————————— What I want to achieve ————————— First, this feature should be executed only once (the moment a user opens this page
Continue readingCSS Animation, ellipses starting from the end and repeating
Issue I have a very simple animation setup, to show a loading three dots. I got a bunch of them from around and picked the simplest looking one. The problem I have with it, is that it starts from 0
Continue readingSVG semi-arc clockwise animation over 180 degrees (half of a circle) with pure CSS/JS
Issue I need some help with my code. My goal is to make a 180 degrees progressive animation that goes clockwise for the upper half of a circle. My ultimate goal is to have two animations playing at the same
Continue readingWhy isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
Issue MY ENVIRONMENT (WHERE I GET THE LAG): Mac OSX El Capitan 10.11.2 on Chrome Version 50.0.2661.102 (64-bit) CODEPEN: http://codepen.io/vieron/pen/hnEev ANIMATION: SITUATION: I googled this a lot without finding anything that works for me. I know this questions has been
Continue readingDot dotdot dotdotdot as loading?
Issue I wanna create some loading dots, like this: At 0000 miliseconds the span content is: . At 0100 miliseconds the span content is: .. At 0200 miliseconds the span content is: … In a loop. What is the best
Continue readingmargin-top applies to sibling element also
Issue I am creating an about page for my website. I have one parent element called maindiv, a flexbox with two children, one is leftcont and another is rightcont. I want to create an animation using margin-top to leftcont. But
Continue readingadvanced hover button
Issue I have no idea how to do this effect. Solution Here we have a simple example about how to do it <style> p{ display: block; position: relative; width: 136px; } .circle{ position: absolute; height: 5px; width: 5px; background: #00ff00;
Continue readingAnimate with Jquery through id
Issue I am very new to Jquery. This is also my first time asking a question on here. I am trying to animate this id but I do not know how to apply it with an id. I want my
Continue readingFlipping a card, CSS animation for web app
Issue I’ve managed to build a card in React with a front and backside and have it flip successfully on hover with CSS. However, I want to flip it on click/touch. I tried setting the transform property to a class
Continue readingAngular 2 Animations – Transitioning between two states won't trigger
Issue I’m trying to get the example from the Angular Documentation (specifically the Transitioning between two states section) and can’t get the animation to trigger. I am not getting any errors and don’t understand where I’m going wrong. Here is
Continue readingCSS Animation Keyframes not working on Iphone/Ipad
Issue I have made a keyframe animation with words shifting in the end of the sentence. It works in Chrome, but doesn’t work in Safari. What am I doing wrong? This is the CSS code: .aboutvision span:before { content: ”;
Continue readingUnexpected behavior in menu dropdown animation
Issue I have a dropdown menu with a fade bottom animation. Everything works fine but there is a problem. Expected behavior: When I click the button to open the menu, the dropdown content is displayed with a fade animation. It
Continue readingCards animation without using z-index
Issue I’m building an animation for cards. I wonder how to have the same effect for the card animation however without animating the z-index. The animation should use only transform and opacity properties. I want to achieve the same effect(as
Continue readingHow to add fade out animation to the clickable dropdown menu
Issue I have a dropdown menu that opens on click. I’ve added a bottom fade animation to the menu when it opens. Now I’m trying to add a fade out animation when it closes. Since I’m new I don’t know
Continue readingCards animation without using z-index
Issue I’m building an animation for cards. I wonder how to have the same effect for the card animation however without animating the z-index. The animation should use only transform and opacity properties. I want to achieve the same effect(as
Continue readingHow to add fade out animation to the clickable dropdown menu
Issue I have a dropdown menu that opens on click. I’ve added a bottom fade animation to the menu when it opens. Now I’m trying to add a fade out animation when it closes. Since I’m new I don’t know
Continue readingCSS animation delay in between loop
Issue Trying to get a label with class price to slide up, then slide back down with CSS. I have the following — -webkit-animation-name: slidingPrice; -webkit-animation-duration: 300ms; -webkit-animation-iteration-count: infinite; -webkit-animation-timing-function: ease-in-out; -webkit-animation-delay: 4s; @-webkit-keyframes slidingPrice { 0% { opacity: 0;
Continue readingtype for useRef if used with setInterval, react-typescript
Issue I am doing a simple animation in a next.js app. let flipInterval = useRef(); const startAnimation = () => { flipInterval.current = setInterval(() => { setIsFlipping((prevFlipping) => !prevFlipping); }, 10000); }; for flipInterval.current I am getting "Type ‘Timeout’ is
Continue readingHow Can I Make Text Animation Effect, Hello World to HW in JavaScript or CSS?
Issue How Can I Make Text Animation Effect, Hello World to HW in JavaScript or CSS? First Text is Hello World! At last, become HW, with disapearing other letters. Hello World! ↓ Hell World! ↓ He Wld! ↓ HW Solution
Continue readingHow to remove a div with fade out effect in JavaScript?
Issue I want to remove a div element on click event but i want to remove it with a fade out effect. I have got some JQuery solution but i need pure JavaScript or css solution. document.querySelector(‘.list’).addEventListener(“click”, function(e){ if (e.target.localName
Continue readingWhy CSS animation (rotate) does not work in iOS 15.4
Issue I have an SVG icon and I have applied some CSS animation (rotation) to it, using inline CSS inside the SVG file (below you can see my code and run the snippet). My problem is that, although the animation
Continue readingCSS animation delay in between loop
Issue Trying to get a label with class price to slide up, then slide back down with CSS. I have the following — -webkit-animation-name: slidingPrice; -webkit-animation-duration: 300ms; -webkit-animation-iteration-count: infinite; -webkit-animation-timing-function: ease-in-out; -webkit-animation-delay: 4s; @-webkit-keyframes slidingPrice { 0% { opacity: 0;
Continue readingtype for useRef if used with setInterval, react-typescript
Issue I am doing a simple animation in a next.js app. let flipInterval = useRef(); const startAnimation = () => { flipInterval.current = setInterval(() => { setIsFlipping((prevFlipping) => !prevFlipping); }, 10000); }; for flipInterval.current I am getting "Type ‘Timeout’ is
Continue readingCSS animation active doesn't continue?
Issue I’ve been trying to learn css animations and I’m starting to get a grip on them but I’m having an issue an animation effect. I have an animation class assigned to a section that is a download button when
Continue readingAn articulated 3D human in HTML5
Issue I am developing an open sign language gesture builder, in some ways very similar to Vcom3D’s Gesture Builder – see product demo on bottom of this page. The main goal is to make this app work in all major
Continue readingAn articulated 3D human in HTML5
Issue I am developing an open sign language gesture builder, in some ways very similar to Vcom3D’s Gesture Builder – see product demo on bottom of this page. The main goal is to make this app work in all major
Continue readingAn articulated 3D human in HTML5
Issue I am developing an open sign language gesture builder, in some ways very similar to Vcom3D’s Gesture Builder – see product demo on bottom of this page. The main goal is to make this app work in all major
Continue readingHow do I animate switching to different sections in html?
Issue I recently started using sections for my website but I hate how it just immidiately just takes you to the section you’ve set it to go. I’ve seen on some websites that when you press a button to take
Continue readingCSS animation going back to its original position but it shouldn't
Issue i’m trying some animation using CSS/JS for my cursor. I wanna have a circle that follows the cursor everywhere.When I click, I want to change the scale/colour of this circle so it gets smaller with a different color, still
Continue readingCSS animation going back to its original position but it shouldn't
Issue i’m trying some animation using CSS/JS for my cursor. I wanna have a circle that follows the cursor everywhere.When I click, I want to change the scale/colour of this circle so it gets smaller with a different color, still
Continue readingHow to make a marquee animation which never leave the view blank ? With images
Issue I am trying to make a marquee animation, but i can’t manage to make it perfect. As you can see when a logo goes out of the page it do not get back from the otherside directly. I would
Continue readingHow to make a marquee animation which never leave the view blank ? With images
Issue I am trying to make a marquee animation, but i can’t manage to make it perfect. As you can see when a logo goes out of the page it do not get back from the otherside directly. I would
Continue readingCan't get JS native animate() to work with height
Issue I’m trying to do scrollUp and scrollDown with a native JS Element.animate(). I want the element to appear smoothly from the top to the bottom. What I get is an immediate opening and delayed collapsing. If there are currently
Continue readingCan't get JS native animate() to work with height
Issue I’m trying to do scrollUp and scrollDown with a native JS Element.animate(). I want the element to appear smoothly from the top to the bottom. What I get is an immediate opening and delayed collapsing. If there are currently
Continue readingSVG Stripe Animation with curved shapes
Issue I am trying to animate this svg to have the ‘barbershop’ stripe animation. This is what I currently have: <svg width=”300″ height=”300″ viewBox=”0 0 120 120″> <pattern id=”diagonalHatch” width=”30″ height=”10″ patternTransform=”rotate(30)” patternUnits=”userSpaceOnUse”> <animate attributeName=”x” from=”0%” to=”100%” dur=”5s” repeatCount=”indefinite”/> <rect
Continue readingSVG Stripe Animation with curved shapes
Issue I am trying to animate this svg to have the ‘barbershop’ stripe animation. This is what I currently have: <svg width=”300″ height=”300″ viewBox=”0 0 120 120″> <pattern id=”diagonalHatch” width=”30″ height=”10″ patternTransform=”rotate(30)” patternUnits=”userSpaceOnUse”> <animate attributeName=”x” from=”0%” to=”100%” dur=”5s” repeatCount=”indefinite”/> <rect
Continue readingAdding different colors to dashes of an SVG stroke
Issue I’m new to SVG and stuff and I’m trying to add different colors for the different dashes of a single stroke. <style> .c-dashed-line__path { animation: c-dashed-line-path 5s forwards; fill: none; stroke: rgb(255, 32, 32); stroke-dasharray: 1475; stroke-dashoffset: 1475; stroke-width:
Continue readingAdding different colors to dashes of an SVG stroke
Issue I’m new to SVG and stuff and I’m trying to add different colors for the different dashes of a single stroke. <style> .c-dashed-line__path { animation: c-dashed-line-path 5s forwards; fill: none; stroke: rgb(255, 32, 32); stroke-dasharray: 1475; stroke-dashoffset: 1475; stroke-width:
Continue readingAngular Ionic Capacitor | Why is Even a Simple Animation Laggy
Issue I’m building a simple Ionic Capacitor app with Angular. The app includes a few pretty simple animations, and I’m stunned to learn these animations are incredibly laggy: In the app, I have a list of contacts. When a contact
Continue readingAngular Ionic Capacitor | Why is Even a Simple Animation Laggy
Issue I’m building a simple Ionic Capacitor app with Angular. The app includes a few pretty simple animations, and I’m stunned to learn these animations are incredibly laggy: In the app, I have a list of contacts. When a contact
Continue readinghow to use hover tag for a class?
Issue I am building a website using bootstrap and animate.css I want to add animation when the user hovers over a link the link should swing and for this, I used animate.css classes but now I don’t know to hover
Continue readingDoes animate.style support on hover animation
Issue I want to use animate.style to show animation effect on hover and not on page load, New version of animate.css which is animate.style doesn’t seems to have hover part mentioned in documentation. Not sure if this is supported or
Continue readingDoes animate.style support on hover animation
Issue I want to use animate.style to show animation effect on hover and not on page load, New version of animate.css which is animate.style doesn’t seems to have hover part mentioned in documentation. Not sure if this is supported or
Continue readingExpand Image Vertically Without Disrupting the Flow with Javascript & CSS
Issue My Progress is @ http://codebucket.webatu.com/code/portfoliotest/index.html Code on JSfiddle: http://jsfiddle.net/warmlaundry/qJbG4/70/ I want to make the edges of the ‘f’ and ‘l’ stretch to the edge of the page. I’m just expanding the height of two images that sandwich the word.
Continue readingExpand Image Vertically Without Disrupting the Flow with Javascript & CSS
Issue My Progress is @ http://codebucket.webatu.com/code/portfoliotest/index.html Code on JSfiddle: http://jsfiddle.net/warmlaundry/qJbG4/70/ I want to make the edges of the ‘f’ and ‘l’ stretch to the edge of the page. I’m just expanding the height of two images that sandwich the word.
Continue readingHow to animate text with css font-weight property in jQuery ? normal to bold
Issue I am trying to animation like opacity effect, which turns text bolder slowly. Tried usual animate() method but didn’t work. Searched for it but coundn’t find any example. Is it possible to do this? jsFiddle. jQuery: var Text =
Continue readinghow to use hover tag for a class?
Issue I am building a website using bootstrap and animate.css I want to add animation when the user hovers over a link the link should swing and for this, I used animate.css classes but now I don’t know to hover
Continue readingHow to animate text with css font-weight property in jQuery ? normal to bold
Issue I am trying to animation like opacity effect, which turns text bolder slowly. Tried usual animate() method but didn’t work. Searched for it but coundn’t find any example. Is it possible to do this? jsFiddle. jQuery: var Text =
Continue readingHow do I animate switching to different sections in html?
Issue I recently started using sections for my website but I hate how it just immidiately just takes you to the section you’ve set it to go. I’ve seen on some websites that when you press a button to take
Continue readingI wish this animation would stay on the page for a few seconds and then fade away
Issue @keyframes appear { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } } @keyframes appearFromTop { 0% { opacity: 0; transform: translateY(-500px); border-radius: 50px; } 30% { opacity: 1; transform: translateY(0); } 50%
Continue readinghow to trigger a function whenever the mouse on screen
Issue I’m being stuck in a problem I’m creating something like this: https://www.fariasviolins.com/ My English is not good :3 Specifically, I’m creating a infinity layout, the layout will be moved according to the mouse position(The larger the position, the greater
Continue reading3d hover effect reverse animation
Issue I found this cool 3d tilt hover image effect, credit to this codepen: https://codepen.io/technokami/pen/abojmZa The only problem I found, when you start to hover over it, the animation starts, but as soon as you move the mouse away, it
Continue readingWebkit animation is leaving junk pixels behind on the screen
Issue The following code puts a white box on the screen. If you run this on an iPad (you can adjust the pixels to run it on an iPhone, too), when you touch the box, it will scoot off the
Continue readingJavaScript does not detect anime js
Issue Im learning animations and JS, I’ve decide that to go with anime.js. Though when i try to do a basic function I get an “Uncaught ReferenceError: anime is not defined” error. HTML: <!DOCTYPE html> <html lang=”en”> <head> <title>Underscores</title> <link
Continue readingUsing React, how can I make the modal do an animated appear, without already being in the DOM?
Issue I have a modal which appears on the press of a button and is animated as it is displayed. This works fine, BUT only if the modal code is already in the DOM when the button is pressed. You
Continue readingCSS Animation Is Not Staying
Issue I have a page that has an input field and a “next” button. When the user clicks next, I want to shrink the input field and remove the “next” button. I have it mostly working as seen in this
Continue readinganimate.js Fix motion path so edge of svg is always on edge with other svg
Issue I can’t seem to fix the following problem. I am creating a hangman game and use a self drawn svg (the hangman) Then I try to adjust a pencil svg from bootstrap icons to that hangman svg so that
Continue readingMatSort breaks MatTable detail row animations
Issue I’ve been beating my head against this problem for quite a while before I got here. Essentially, I have an Angular Material table that uses animations to create a detail row. When the table sorts, it rearranges the data.
Continue readingCannot find name 'GlobalCompositeOperation'
Issue While working with ng-lottie for animations. It is suddenly having build issues. Know more . Hence, in search of alternatives I am trying ng-particles. I have installed it and added the configs as per docs. But, now I am
Continue readingHow to run animation on load CSS
Issue How do I start counter on load? I was able to make it start on hover but never get it to work on load. JS: var root = document.querySelector(‘:root’); var rootStyles = getComputedStyle(root); var start= rootStyles.getPropertyValue(‘–start’); var finish= rootStyles.getPropertyValue(‘–finish’);
Continue readingImprove rendering performance of animated image in browser
Issue I’m experimenting with different ways of rendering image in a browser. The idea is to create custom HTML element capable of displaying a set of images or frames as a continuous animation. The images will be generated on the
Continue readingCSS Auto hide elements after 5 seconds
Issue Is it possible to hide element 5 seconds after the page load? I know there is a jQuery solution. I want to do exactly same thing, but hoping to get the same result with CSS transition. Any innovative idea?
Continue readingJavascript – Change all animation-play-state on page load
Issue I have a * { animation-play-state: paused; } in my global CSS, it controls ALL animations on the page. How can I make it so it changes to “running” once all elements have loaded in? It functions like a
Continue readingAngular 4 animations not working with Safari iOS 9.3
Issue I’m currently testing my app in all the possible browsers and I got to see that the angular animations don’t behave as expected in Safari iOS 9.3. After hours and hours trying to solve it I come asking for
Continue readingIs there a way to animate appearing text in html/css?
Issue I’m trying to animate slowly appearing text in css and I can’t make it fluid… It consists of 3 words and will smoothly do the first word, but the next 2 words just pop into existence. This is my
Continue readingDetermine if a snap-scroll element's snap scrolling event is complete
Issue Abstract I am creating an image gallery using a scrollable element. I am using CSS’ scroll-snap feature, which allows me to snap onto the elements (images) in the scroller. By binding to the element’s scroll event, I am applying
Continue reading