0

Programación en html

Good afternoon, I am sharing with you a programming in html that is very good for the alert notice.

All the best.

if 'Nº Avisos ACCESO VEHICULOS' != 0 then
    html("<div style='background-color: #ffffff; padding: 13px; width: 250px; height: 13px; animation: backgroundChange 1s infinite alternate;'>
    <h2 style='font-size: 16px;'><strong>⛔Tienes 1 AVISOS Pendientes</strong></h2>
  </div>

  <style>
    @keyframes backgroundChange {
      0% {
        background-color: #ff0000; /* Rojo */
      }
      100% {
        background-color: #ffffff; /* Blanco */
      }
    }
  </style>")
end

Reply

null