Vue-js-modal: how to set the opacity of overlay?

Created on 18 Dec 2018  ·  1Comment  ·  Source: euvl/vue-js-modal

Problem:

...

Example & screenshots:

...

I have checked stackoverflow for solutions and 100% sure that issue not in my code.

question answered

Most helpful comment

Did you try setting the colour of the overlay like this?

.v--modal-overlay {
  background: red;
  opacity: 0.9;
}

You can use rgba or hex with opacity (https://stackoverflow.com/a/17239853).
And you will need !important as well.

>All comments

Did you try setting the colour of the overlay like this?

.v--modal-overlay {
  background: red;
  opacity: 0.9;
}

You can use rgba or hex with opacity (https://stackoverflow.com/a/17239853).
And you will need !important as well.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yyh1102 picture yyh1102  ·  3Comments

smholsen picture smholsen  ·  4Comments

songoo picture songoo  ·  4Comments

chris-rowe picture chris-rowe  ·  4Comments

Max64 picture Max64  ·  4Comments