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

  • Profile Image
    LicenceTT
    Asked on June 09, 2016 at 05: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?

  • Profile Image
    victor
    Answered on June 09, 2016 at 07: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.