Write a css rule that changes the color of all elements


Programming exercise 2

1. Write a CSS rule that gives all h1 and h2 elements a padding of 0.5 ems, a dashed border style and a margin of 0.5 ems.

2. Write a CSS rule that changes the color of all elements containing attribute class = "green-Move" to green and shifts them down 25 pixels and right 15 pixels.

3. (Text Shadow) Create a text shadow on the phrase "New features in CSS3" with a horizontal offset of 2px, a vertical offset of 5px, a blur radius of 6px and a text-shadow color deepskyblue.

4. (Text Stroke)Create a text stroke on the phrase "New WebKit features". Make the color of the text LightBlue. Use a 3px Navy text-stroke and set the font-size to 700%.

Solution Preview :

Prepared by a verified Expert
: Write a css rule that changes the color of all elements
Reference No:- TGS01532579

Now Priced at $40 (50% Discount)

Recommended (97%)

Rated (4.9/5)