skip to Main Content

I was creating a text and I don’t know why but the background of the text doesn’t disappear. It seems like the background it’s stuck in the same color, like it doasn’t accept the gradient I create in the box.

I simply created a header and I expected a normal text without background, but I don’t know why it doasn’t work.HTML codeCSS codeResult

2

Answers


  1. try using rgb with alpha as the background-color value in the .nombre_empressa class.

    background-color: rgba(0,0,0,0.5);
    

    and just adjust the alpha value (0.5) based on the transparency you want.

    Login or Signup to reply.
  2. Check if the class number_empresa style contains backgroud-color attribute, if so just remove it or give it transparent value

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search