CSS span area background color design
CSS span area tags can be used to easily mark specific parts of web content and design different area effects, such as changing the size, color, style, font... etc. of the text. It is all possible, and the span area You can also have your own background color. Web designers only need to use the CSS background-color property to easily modify the background color of the span area. Let’s take a look at the basic syntax of the span area and the background-color property, and then apply the example See the actual effect.
CSS span area tag syntax
CSS background-color properties and methods
having the above two basic syntaxes, we can combine them to modify the background color of the span . Please see the example.
CSS span area background color design example
<span style="background-color:red;margin-right:5px;">Red background Color</span>
<span style="background-color:orange;margin-right:5px;">orange background color</span>
Post a Comment
0 Comments