Search
 
SCRIPT & CODE EXAMPLE
 

CSS

animate a position css

#wrapper{
    position:relative;
    top:50px;
    width:700px;
    height:320px;
    margin:0 auto;
    background:white;
    border-radius:10px;
}
#sea{
    position:relative;
    background:#2875DE;
    width:700px;
    height:170px;
    border-radius:10px;
    top:190px;
}
#sea img{
    position:absolute;
    left:480px;
    top:-20px;
    animation:myship 10s;
    -moz-animation:myship 10s; /* Firefox */
    -webkit-animation:myship 10s; /* Safari and Chrome */               
}

@keyframes myship{
    from {left: 480px;} 
    to{left:20px;} 
}
@-moz-keyframes myship{
    from {left: 480px;} 
    to{left:20px;} 
}
@-webkit-keyframes myship{
    from {left: 480px;} 
    to{left:20px;} 
}​
Comment

PREVIOUS NEXT
Code Example
Css :: how to give rgba in tailwind 
Css :: vendor Prefixing 
Css :: css attribute selectors 
Css :: flex-grow css 
Css :: https://www.youtube.com/s/desktop/f357c206/cssbin/www-main-desktop-watch-page-skeleton.css 
Css :: 404 page template css 
Css :: pading 
Css :: css selector first level child 
Css :: fit image in grid css 
Css :: other children than first css 
Css :: css inherit class 
Css :: jquery or selector 
Css :: css bottom:0 isnt the bottom of the page 
Css :: css style link 
Css :: Why CSS background color not show with float? ,use of float disappear parent div background color d 
Css :: animation classes in magic css 
Css :: css slide up animation 
Css :: scss @content 
Css :: css opacité fond mais pas texte 
Css :: mathjax beautiful math in all browsers 
Css :: css to exclude last row table 
Css :: meaning of bbc 
Css :: How to write something inside image 
Css :: if browser css 
Css :: css how to transform and stay on top of page 
Css :: frontend to backend fetching 
Css :: A shortcut to the start_requests method with scrapy 
Css :: transform translate css 
Css :: scrollbar width css 
Css :: Spanning Items Across Rows and Columns 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =