Question

what is this animation code for css: make an animation that will act like a banner...

what is this animation code for css:

make an animation that will act like a banner with a sentence to go from the left to the right side of the page without interruption – should be a continuous and infinite movement.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

I'll be providing you a simple animation of a text from left to right as asked. Feel free to ask me any doubts regarding the code.

Here is the HTML code for the BANNER (sentence) :

<div id = "text">
<p>
BANNER
</p>
</div>

Here is the CSS code for this to move:

#text{
position:absolute;
-webkit-animation:infinite;
-webkit-animation-name: run;
-webkit-animation-duration: 10s;
}   
@-webkit-keyframes run {
0% { left: 0;}
50%{ left : 100%;}
  
}

Output:

'

Do rate it if it helped :)

Add a comment
Know the answer?
Add Answer to:
what is this animation code for css: make an animation that will act like a banner...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 2. HTMIICSS Coding Write the XHITMI and CSS code necessary to recreate the following appearance on-screen. Adaprted from the WA.B.L page of the Washington Beer Commision webrite, washingtonbeer.c...

    2. HTMIICSS Coding Write the XHITMI and CSS code necessary to recreate the following appearance on-screen. Adaprted from the WA.B.L page of the Washington Beer Commision webrite, washingtonbeer.com ashington Home of the WASHINGTON BEER Commission What is WA.B.L? WA.DL, is a community of WAshington Ber Lovers celebrating the FRESH LOCAL AWARD WINNING c rah beer produced Its a Washingtion Deer Fan Club WA.B.L. Perks WABL neems, and oner businesses prometing lanty Washngton beer Each hirt with a design unique to...

  • write code in C++ make it print just like like the above image. 5.12 (Drawing Patterns...

    write code in C++ make it print just like like the above image. 5.12 (Drawing Patterns with Nested for Loops) Write a program that uses for statements to print the following patterns separately, one below the other. Use for loops to generate the patterns. All asterisks ) should be printed by a single statement of the form cout (this causes the asterisks to print side by side). [Hint: The last two patterns require that each line begin with an appropriate...

  • the is my HTML and CSS code. I didn't attach the image or the CSS file...

    the is my HTML and CSS code. I didn't attach the image or the CSS file because of the space limit. two things I wanted to incorporate on this page are to make "MY TOP 3 MUSIC GENRES" blink using javascript and to make the video links autoplay using javascript both should be using javascript requirement: our professor told us not to use <div> or alert. thank you for your help <!DOCTYPE html> <!-- I used w3school for the formatting...

  • Java...Stay on the Screen! Animation in video games is just like animation in movies – it’s...

    Java...Stay on the Screen! Animation in video games is just like animation in movies – it’s drawn image by image (called “frames”). Before the game can draw a frame, it needs to update the position of the objects based on their velocities (among other things). To do that is relatively simple: add the velocity to the position of the object each frame. For this program, imagine we want to track an object and detect if it goes off the left...

  • In my HTML and CSS pages I want to make this aside output in 2 even...

    In my HTML and CSS pages I want to make this aside output in 2 even columns rather than the way it is (do I need a column layout?), below is my code for the html AND the CSS: HTML: <aside>        <h3>Surfer Slang</h3>     <dl>        <dt>barney</dt>        <dd>A new and inexperienced surfer</dd>        <dt>boost</dt>        <dd>To take off from a wave into an aerial</dd>        <dt>cutback</dt>        <dd>To change direction when streaking ahead of the curl</dd>        <dt>gandalf</dt>...

  • IN JAVA PLEASE!!! Program 1: Stay on the Screen! Animation in video games is just like...

    IN JAVA PLEASE!!! Program 1: Stay on the Screen! Animation in video games is just like animation in movies – it’s drawn image by image (called “frames”). Before the game can draw a frame, it needs to update the position of the objects based on their velocities (among other things). To do that is relatively simple: add the velocity to the position of the object each frame. For this program, imagine we want to track an object and detect if...

  • PHP, HTML, CSS I have to make a website for a health club. Or a spa. Or some other kind of business where you have a mem...

    PHP, HTML, CSS I have to make a website for a health club. Or a spa. Or some other kind of business where you have a membership and keep track of transactions for those customers. First I need to create a page where the customer is signed up for a membership. The fields should include: First name Last name Street Address City State Zip Code Email Phone Number I should create a table that has all of that data as...

  • Question 1 To remove the underlining from an <a> element, you can use CSS to set...

    Question 1 To remove the underlining from an <a> element, you can use CSS to set its A. text-decoration property to none B. text-decoration property to off C. underline property to none D underline property to off Question 2 You can use the CSS list-style-type property to change A. the bullet style in an unordered list B the number style in an ordered list C the terms style in a description list Dthe bullet or number style in an unordered...

  • Question 1 To remove the underlining from an <a> element, you can use CSS to set...

    Question 1 To remove the underlining from an <a> element, you can use CSS to set its A. text-decoration property to none B. text-decoration property to off C. underline property to none D underline property to off Question 2 You can use the CSS list-style-type property to change A. the bullet style in an unordered list B the number style in an ordered list C the terms style in a description list Dthe bullet or number style in an unordered...

  • 1) With the partial code below, create a web page that looks like the one below...

    1) With the partial code below, create a web page that looks like the one below and complete the given code. Make sure work that the correct image corresponding with the correct hyperlink is displayed in the right frame whilst all the hyperlinks are listed in the left frame. <html> <head> <script> function setImage(index) {     if (index == 1)     {       RightFrame.document.RightImage.src = "lions.jpg";     }     if (index == 2)     {       RightFrame.document.RightImage.src = "tigers.jpg";    ...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT