User:তাহমিদ/Sandbox/style.css: Difference between revisions

From TestWiki
Content added Content deleted
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 1: Line 1:
@keyframes myOwnAnimation {
@keyframes myOwnAnimation {
0% { bottom: 0; }
0% { bottom: 0; }
50% { top: 50vh; }
100% { top: -100%; }
100% { top: 0; }
}
}


.myOwnClass {
.myOwnClass {
position:fixed;
position:fixed;
bottom:0;
bottom: -100%;
right: 0;
right: 0;
animation-name: myOwnAnimation;
animation-name: myOwnAnimation;

Revision as of 04:41, 21 July 2021

@keyframes myOwnAnimation {
    0% { bottom: 0; }
    100% { top: -100%; }
}

.myOwnClass {
    position:fixed;
    bottom: -100%;
    right: 0;
    animation-name: myOwnAnimation;
    animation-duration: 4s;
    animation-delay: 4s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
}