Saltar al contenido

cómo eliminar la clase modal-backdrop fade en el ejemplo de código

Ejemplo: problema de desvanecimiento de fondo modal

Just move the entire modal outside of the rest of your code, to the very 
bottom. It doesn't need to be nested in any other element, other than the body.

<body>
    <!-- All other HTML -->
    <div>
        ...
    </div>

    <!-- Modal -->
    <div class="modal fade" id="myModal">
        ...
    </div>
</body>


They hint at this solution in the documentation ( Modal Markup Placement )
Always try to place a modal's HTML code in a top-level position in your 
document to avoid other components affecting the modal's appearance and/or 
functionality.
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)



Utiliza Nuestro Buscador

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *