Peace Chinaza Nwosu• 100
@PeaceNaza
Submitted
The difficulty i had while building the project was adding space on the left and right side of the <span> element.
@bright-op
@PeaceNaza
Submitted
The difficulty i had while building the project was adding space on the left and right side of the <span> element.
@bright-op
Posted
<span>
is by default an inline element, meaning, you can only space a span element left and right, use: padding
or margin
to add spacing to left and right. To add spacing top and down, you need to use display:block
Marked as helpful