Question: Using the text file Cats for the text information for a transformation program. Create a div that contains three paragraphs 40px apart. Each paragraph should
Using the text file Cats for the text information for a transformation program. Create a div that contains three paragraphs 40px apart. Each paragraph should contain one of the paragraphs from the source document. Use an external style sheet to set the background color of each paragraph to a very light gray and the default text size to 12 point.. The text in the first paragraph should be green in italics, the second should be blue, and the third should red in bold. Each paragraph should be in a different font family. The first paragraph should then be set the text size to 16 point.
In the second paragraph, add an image that floats to the right and stays with the paragraph. Use a box model with a margin of 12px and a padding of 6px. Add a boarder of your choice that is 3px wide. Use the file Mo.jpg for your box content and a caption This is Mo overlaying the very bottom of the image. When the user moves the cursor over the image, the image should transform to the file Bailey.jpg and the caption should change to This is Bailey. (Hover_Transformation)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
