Saltar al contenido

ejemplo de código de cuadro de información de bootstrap

Si hallas algún error en tu código o proyecto, recuerda probar siempre en un entorno de testing antes aplicar el código al trabajo final.

Ejemplo 1: errores 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: cuadro de alerta de arranque

Alerts in Bootstrap:--------------------------------
Alert classes you can use to check
.alert-primary
.alert-secondary
.alert-success
.alert-danger
.alert-warning
.alert-info
.alert-light
.alert-dark

Simple alert:-------------
"alert alert-primary" role="alert"> This is a primary alert—check it out!
Alert with close button and decriptive feature:------------------------------------------------
"alert alert-warning alert-dismissible fade show" role="alert"> Holy guacamole! You should check in on some of those fields below.
Trigger via javascript: $(".alert").alert();

Ejemplo 6: 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.

¡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 *