Saltar al contenido

ejemplo de código de bootstrap de alerta css

Siéntete en la libertad de divulgar nuestra web y códigos en tus redes sociales, ayúdanos a hacer crecer esta comunidad.

Ejemplo 1: alerta de arranque

"alert alert-primary" role="alert"> This is a primary alert—check it out!
"alert alert-secondary" role="alert"> This is a secondary alert—check it out!
"alert alert-success" role="alert"> This is a success alert—check it out!
"alert alert-danger" role="alert"> This is a danger alert—check it out!
"alert alert-warning" role="alert"> This is a warning alert—check it out!
"alert alert-info" role="alert"> This is a info alert—check it out!
"alert alert-light" role="alert"> This is a light alert—check it out!
"alert alert-dark" role="alert"> This is a dark alert—check it out!

Ejemplo 2: alertas de arranque

"alert alert-warning alert-dismissible fade show" role="alert"> Holy guacamole! You should check in on some of those fields below.

Ejemplo 3: bootstrap de alerta

"alert alert-warning alert-dismissible fade show" role="alert"> Holy guacamole! You should check in on some of those fields below.

Ejemplo 4: alertas de arranque

Alerts are available for any length of text, as well as an optional dismiss
button. For proper styling, use one of the eight required contextual classes
(e.g., .alert-success). For inline dismissal, use the alerts jQuery plugin.

"alert alert-primary" role="alert"> A simple primary alert—check it out!
"alert alert-secondary" role="alert"> A simple secondary alert—check it out!
"alert alert-success" role="alert"> A simple success alert—check it out!
"alert alert-danger" role="alert"> A simple danger alert—check it out!
"alert alert-warning" role="alert"> A simple warning alert—check it out!
"alert alert-info" role="alert"> A simple info alert—check it out!
"alert alert-light" role="alert"> A simple light alert—check it out!
"alert alert-dark" role="alert"> A simple dark alert—check it out!
"alert alert-primary" role="alert"> A simple primary alert with "#" class="alert-link">an example link. Give it a click if you like.
"alert alert-secondary" role="alert"> A simple secondary alert with "#" class="alert-link">an example link. Give it a click if you like.
"alert alert-success" role="alert"> A simple success alert with "#" class="alert-link">an example link. Give it a click if you like.
"alert alert-danger" role="alert"> A simple danger alert with "#" class="alert-link">an example link. Give it a click if you like.
"alert alert-warning" role="alert"> A simple warning alert with "#" class="alert-link">an example link. Give it a click if you like.
"alert alert-info" role="alert"> A simple info alert with "#" class="alert-link">an example link. Give it a click if you like.
"alert alert-light" role="alert"> A simple light alert with "#" class="alert-link">an example link. Give it a click if you like.
"alert alert-dark" role="alert"> A simple dark alert with "#" class="alert-link">an example link. Give it a click if you like.

Ejemplo 5: contenido adicional de alertas de arranque

Alerts can also contain additional HTML elements like headings, paragraphs 
and dividers.

"alert alert-success" role="alert">

"alert-heading">Well done!

Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.


"mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.

Ejemplo 6: alerta de arranque

"alert alert-success"> Success! You should "#" class="alert-link">read this message.

Aquí puedes ver las comentarios y valoraciones de los usuarios

Tienes la opción de añadir valor a nuestra información contribuyendo tu veteranía en los informes.

¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)


Tags :

Utiliza Nuestro Buscador

Deja una respuesta

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