So, I created a CSS3 animation that should disappear from the element, setting its opacity from 1 to 0 and in the last frames change the position values ββto absolute and display to none . But in Safari, it will only support opacity, position and display will not be set to final values.
@-webkit-keyframes impressum-fade-out { 0% { opacity: 1; display: block; position: relative; } 99% { opacity: 0; position: relative; } 100% { opacity: 0; display: none; position: absolute; } }
It seems to work on Chrome, but not on Safari (I tried option 8). Apparently, the position and display do not work properly with the fill-animation mode: go ahead ...
JSFiddle: http://jsfiddle.net/uhtL12gv/
EDIT For Bounty: I am aware of workarounds with Javascript events and transition events. But I wonder why the browser lacks support for this? Does the specification indicate that fillmode formatting does not apply to some attributes, such as position, or is this a bug in browsers? Because I could not find anything in the error tracker. If anyone has an understanding, I would really appreciate it.
source share