This article mainly introduces the CSS settings p background color method, the need for friends can refer to the next, p tags directly set the background color code as follows: <p style= "background: #000; Color: #FFF "> Background for the Black </p>p label set the background color to black, the font color for the white p tag set the background color through the P tag set style to set the background color CSS style. External CSS settings p background color here for an object CSS named ". Pcss5", set the P object background color CSS code by creating an external selector: The code is as follows:. pcss5{background: #F00; color: #FFF}html Source code: code as follows: <p class= "PCSS5" > Background color for red </p> effects: External CSS settings P background color
1. How to set div background color using CSS
Introduction: This article mainly introduces the CSS setting div background color method, the need for friends can refer to the next
2. PHP generates a random color method summarizing _php instances
Summary: Previous time in a project, you need any div background color value in the same page, automatically generated with PHP, that is, each div produces a different color
3. PHP generate random Color Method summary
Summary: Previous time in a project, you need any div background color value in the same page, automatically generated with PHP, that is, each div produces a different color
4. PHP generates a random color method summary _php
Summary: Previous time in a project, you need any div background color value in the same page, automatically generated with PHP, that is, each div produces a different color