search

Home  >  Q&A  >  body text

How do I change the color of the border from gray to full color via CSS/HTML?

I am a newbie trying to learn HTML CSS

I wanted this border to be completely gray, but as we can see it's half/half - I don't understand why, thanks enter image description here

My console and the picture below:

P粉573943755P粉573943755469 days ago1104

reply all(1)I'll reply

  • P粉207483087

    P粉2074830872023-09-17 09:20:28

    It may inherit the parent div, please add !important; to force CSS to be applied. Otherwise you can use dev tools to check it (tab styles and calculations)

    reply
    0
  • Cancelreply