Hi there,  I am trying to make the background semi-transparant and use a failsafe method incase transparency is not supported:   .form-all {  

  • LicenceTT
    Asked on June 9, 2016 at 5:35 PM

    Hi there, 

    I am trying to make the background semi-transparant and use a failsafe method incase transparency is not supported:

     

    .form-all {

      background-color: rgb(0,0,0); !important;

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

    }

     

    I injected this code in the form, but it does not work. What goes wrong?

  • victor
    Replied on June 9, 2016 at 7:47 PM

    I noticed that you have an extra semi-colon ";" in your css, after the numeric value.

    .form-all {

      background-color: rgb(0,0,0); !important;

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

    }

    Once you remove this characters, your code will work properly.