css-animations

Creating a peek in effect with animate.css

时间秒杀一切 提交于 2020-01-04 12:42:33
问题 I am using the excellent animate.css library for animations. I was wondering if its possible to create a "peek in" and "peek out" effect that is similar to the SlideIn/SlideOut but with the following difference: slideOutRight +-------------+ +-------------+ | | | | | | | | | +---------+ | +---+----+ | | anim | | | anim | | +---------+ | +---+----+ | | | | +-------------+ +-------------+ peekOutRight +-------------+ +--------------+ | | | | | | | | | +---------+ | +----+ | | anim | | | an| | +

Creating a peek in effect with animate.css

大城市里の小女人 提交于 2020-01-04 12:41:29
问题 I am using the excellent animate.css library for animations. I was wondering if its possible to create a "peek in" and "peek out" effect that is similar to the SlideIn/SlideOut but with the following difference: slideOutRight +-------------+ +-------------+ | | | | | | | | | +---------+ | +---+----+ | | anim | | | anim | | +---------+ | +---+----+ | | | | +-------------+ +-------------+ peekOutRight +-------------+ +--------------+ | | | | | | | | | +---------+ | +----+ | | anim | | | an| | +

Why don't CSS3 animations work on outline with default none?

大城市里の小女人 提交于 2020-01-04 09:18:27
问题 I've got to this point in which I'm trying to do a hilite animation on an element which I can't move or modify its boundings, so i used an outline in addition to its background color to have an animation area bigger than the element itself (here's a sample): @keyframes hilite { 0% { background-color: transparent; outline: #ffffff solid 10px; } 20% { background-color: #F6F6BC; outline: #F6F6BC solid 10px; } 100% { background-color: transparent; outline: #ffffff solid 10px; } } But now i'm

Div Expand to Full Screen Smoothly on Click

。_饼干妹妹 提交于 2020-01-03 19:34:11
问题 I am trying to make a div expand smoothly to fullscreen when clicked. The final product I am going for is similar to when a user clicks a case study on this website https://infinum.co/ So far my code can make the div fullscreen but it jumps because of the position fixed I add. I am not bothered whether the actual animation is handled by CSS or JavaScript/jQuery. $(function() { $(".block").on("click", function() { $(this).addClass("fullscreen"); }); }); html, body { margin: 0; padding: 0;

How to add animation to angularjs uib-alert directive

橙三吉。 提交于 2020-01-03 17:06:27
问题 I want to add fade-in animation for new alerts pushed into array and fade-out for dismissed alerts. Alerts are dismissed automatically after 5 seconds. I've already included angular-animate ui-bootstrap and ui-bootstrap-tpls libraries. How can i get these animations working? See Demo: http://plnkr.co/edit/ecbCA7h2zVA4XnvUHfFX?p=preview HTML <html ng-app="myApp"> <head> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.css" /> <script src="https://ajax

Animated CSS background pattern, sliding infinitely

醉酒当歌 提交于 2020-01-03 17:01:15
问题 I am trying to create an animated repeating-pattern (diagonal stripes sliding horizontally), as placeholder for a loading block ( li in this case). How can I make the animation smooth/continuous giving the illusion the pattern is infinitely sliding? How to calculate the element width so that the pattern is continuous? (stripes shouldn't look broken/interrupted). How to make it loop looking like it is not restarting but rather sliding infinitely? (the 100% frame should pass to the 0% frame

My CSS animations are not working in iOS

别等时光非礼了梦想. 提交于 2020-01-03 13:03:16
问题 Please have a look at http://facelesstolegendary.com I looked at several posts here and saw that I need to add the -webkit- prefix to my transforms, etc. I did that, but it still does not work on iOS. It does work on my desktop browsers. Here's the relevant code: .cb-slideshow, .cb-slideshow:after { position: fixed; width: 100%; height: 100%; top: 0px; left: 0px; z-index: 0; } .cb-slideshow:after { content: ''; background: transparent url(pattern.png) repeat top left; } .cb-slideshow li span

My CSS animations are not working in iOS

回眸只為那壹抹淺笑 提交于 2020-01-03 13:02:45
问题 Please have a look at http://facelesstolegendary.com I looked at several posts here and saw that I need to add the -webkit- prefix to my transforms, etc. I did that, but it still does not work on iOS. It does work on my desktop browsers. Here's the relevant code: .cb-slideshow, .cb-slideshow:after { position: fixed; width: 100%; height: 100%; top: 0px; left: 0px; z-index: 0; } .cb-slideshow:after { content: ''; background: transparent url(pattern.png) repeat top left; } .cb-slideshow li span

CSS 3 fake 3D cube rotation between 2 boxes

拥有回忆 提交于 2020-01-03 10:57:31
问题 I've implemented a flip rotation using css: .flip-card { position: relative; z-index: 1; -webkit-perspective: 1000px; -moz-perspective: 1000px; -o-perspective: 1000px; perspective: 1000px; } .flip-card-content { width: 100%; height: 100%; -webkit-transform-style: preserve-3d; -webkit-transition: all 0.5s ease-in-out; -moz-transform-style: preserve-3d; -moz-transition: all 0.5s ease-in-out; -o-transform-style: preserve-3d; -o-transition: all 0.5s ease-in-out; transform-style: preserve-3d;

CSS Animation rotate on return

微笑、不失礼 提交于 2020-01-02 08:51:09
问题 I am trying to create animation with this arrow that will move up and down and also rotate or change its direction on 0% and 100% . But what I got so far is that arrow will rotate for sec on 100% and then return back to previous direction. So basically what I am trying to do is, arrow should point up on its way up and point down on return or on its way down . Can I do this with just CSS animations? DEMO On way up arrow should have this direction and on way down this one Also I want to animate