163k views
12 votes
☐ A text-shadow style was created and used for the h2 element

☐ A box-shadow style was created for the figure element
☐ The article has a border that is solid, thin, and a named color of your choosing
how do i do this in css?

1 Answer

13 votes

Answer:

You can try and form your CSS file like the following:

h2 {

text-shadow: 0px 2px red; /* creates a red text shadow for all h2s */

}

figure {

box-shadow: 0px 4px red; /* creates a red box shadow for all figures */

}

article {

border: 1px solid red; /* creates a thin red border for all articles */

}

User Bereket Gobeze
by
4.7k points