Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

4.5) Write a CSS rules that gives all h1 and h2 elements a padding of 0.5 ems, a

ID: 667718 • Letter: 4

Question

4.5) Write a CSS rules that gives all h1 and h2 elements a padding of 0.5 ems, a dashed border style and a margin of 0.5 ems

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

5.3) 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.

5.4) Create a text key 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%

Explanation / Answer


Write a CSS rules that gives all h1 and h2 elements a padding of 0.5 ems, a dashed border style and a margin of 0.5 ems
h1, h2 {
   padding: 0.5 em;
   border-style: dashed;
   margin: 0.5 em;
   }


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

.green-Move {
   color: green;
   position: relative;
   bottom: -25px;
   right: -15px;
   }

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote