Home >Web Front-end >HTML Tutorial >CSS usage issues_html/css_WEB-ITnose
I wrote a CSS file and used DIV= to connect the file. The text will have a corresponding background image, but I hope that some text will not have the background image, and I still want to use this style. What should I do? Thank you
Please be more detailed and send me the code to see
In the class of div=, Add a class after it, such as bg, and add background:none to the style; for example, it turns out to be div class="menu", and the way to add a style is div class="menu bg". Be careful to put the name of the style that does not require a background at the end. . . .
But in that case the text will wrap automatically. What should I do?