How to remove the mask layer in bootstrap: first open the corresponding css file; then modify the code content to ".modal-backdrop {filter: alpha(opacity=0)!important;opacity: 0!important;} "That's it.
Recommended: "bootstrap Tutorial"
bootstrap pop-up frame removal mask layer effect
solves this problem through css. The core css code is as follows:
.modal-backdrop { filter: alpha(opacity=0)!important; opacity: 0!important; }
alpha and opacity usually determine transparency.
What is the difference between alpha and opacity?
Same points:
Both values are 0 for complete transparency and 1 for complete opacity.
Difference:
Alpha can apply element-specific attributes, which can only affect the current element, and its sub-elements cannot be inherited, while opacity not only affects the current element, but also affects sub-elements and its sub-sub elements, with inheritance.
The above is the detailed content of How to remove mask layer in bootstrap. For more information, please follow other related articles on the PHP Chinese website!