https://getbootstrap.com/docs/4.0/components/modal/#options

    - background dim control, dialog close prevent(avoid)



backdrop

true : 배경 어두워짐, 배경 클릭시 모달 닫힘

false : 배경 불변, 배경 클릭시 모달 유지

"static" :  배경 어두워짐, 배경 클릭시 모달 유지




* 배경 어두워지는 강도 조정 CSS

 

.modal-backdrop 

{

    opacity:0.9 !important;

}



//-----------

https://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_ref_js_modal_backdrop&stacked=h




Posted by cd cd1

댓글을 달아 주세요