Home > front end >  Label penetration Div displays the Body background color
Label penetration Div displays the Body background color

Time:11-04


A label display is the color of the Body,
I want to show the Div color,
How can penetrate to the bottom

CodePudding user response:

Then give a label a style="background: # XXXXXX;" bai

CodePudding user response:

Question should be inheritance of CSS, is just a speculation, best stick code, otherwise, really don't know how to answer you

CodePudding user response:

refer to the second floor god stick everyday and deceptive reply:
problem should be the inheritance of CSS, is just a speculation, it is best to post the code, otherwise I really don't know how to answer you
is very simple, is to give the body a background color, and then add a div, also give div a background color, and then put an a on the div tags, whatever label, his background color is the color of the body, rather than the color of the div
  • Related