Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question and Answer body { font-family: Calibri, sans-serif; font-size: 3em; } #answer { color: black; width: 100px; /* Part of your solution goes here */

image text in transcribed

Question and Answer

body {

font-family: Calibri, sans-serif;

font-size: 3em;

}

#answer {

color: black;

width: 100px;

/* Part of your solution goes here */

}

/* moveFraction goes here */

#question {

/* Part of your solution goes here */

}

#question:hover {

/* Part of your solution goes here */

}

span {

display: inline-block;

}

Question: ¼ + ½ =

¾

5.12 LAB: Animating the answer Modify the given HTML file to produce an animation, resulting in the web page below. Question: 14 + 12 = 34 Perform the following to the embedded stylesheet: Add a keyframe called moveFraction that does the following: At 0% sets the font color to yellow and uses transform property to translate to position (-355px, 60px) so the fraction is off the left side of the screen. At 50% translates to (Opx, 60px) so the fraction is just below and right of the question. At 100% sets font color to red and translates to (Opx, Opx) so the fraction is located next to the = sign. In the #answer rule start the moveFraction animation 1 second after the CSS loads, and make the animation duration 2 seconds. In the #answer rule use animation-fill-mode: forwards to keep the fraction from resetting back to the original location after the animation completes. Add a transition property to the #question rule to perform a transform over 0.6 seconds with the ease-in-out timing function. Add a transform property to the #question:hover rule to scale by 0.9. Verify that when the page loads, the 3/4 fraction moves from off the screen to the right, just under the question, then up next to the question. When the mouse hovers over the question, the text should shrink some until the mouse is moved off the text

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 1 Lnai 9284

Authors: Annalisa Appice ,Pedro Pereira Rodrigues ,Vitor Santos Costa ,Carlos Soares ,Joao Gama ,Alipio Jorge

1st Edition

3319235273, 978-3319235271

More Books

Students also viewed these Databases questions

Question

1.who the father of Ayurveda? 2. Who the father of taxonomy?

Answered: 1 week ago

Question

Commen Name with scientific name Tiger - Wolf- Lion- Cat- Dog-

Answered: 1 week ago

Question

3. How would this philosophy fit in your organization?

Answered: 1 week ago

Question

3. What information do participants need?

Answered: 1 week ago