euvl / vue-js-modal

Easy to use, highly customizable Vue.js modal library.
http://vue-js-modal.yev.io
MIT License
4.35k stars 592 forks source link

How to change vm-overlay background's color #736

Open nguyenhoangtuehachix opened 2 years ago

nguyenhoangtuehachix commented 2 years ago

Problem:

I want to change overlay color from default's color rgb(0,0,0,0.2) to rgb(0,0,0,0)

Version:

Version 2.0.0

Example & screenshots:

image

I have checked stackoverflow for solutions and 100% sure that this issue is not not related to my code.

EneroPl commented 2 years ago
  1. If you tried to use "rgb" with 4 param, so you need to rename it into "rgba".
  2. If you used "rgba" and have not effects, In component when call modal you can use that CSS-stylse to vm--overlay like that .vm--overlay { background-color: rgba(0, 0, 0, 0) !important; }
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.