This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

227 points
6a4acd4ba008775e54fde6dcce51eaf5?s=140&d=retro
Submitted by
kmattimore
almost 3 years ago

How do I get just the <span> text to be yellow in 9/26?

I can get all of the paragraphs to have a yellow background but I don't know where to place the tags to indicate that I just want those backgrounds yellow


1 vote

permalink

In stylesheet.css tab put this line:

span {
background-color: yellow;
}

263 points
Dd6e02c0315b329ca5483b9614bf41e2?s=140&d=retro
Submitted by
f435
almost 3 years ago