mouse0270 / bootstrap-notify

Turns standard Bootstrap alerts into "Growl-like" notifications.
http://bootstrap-notify.remabledesigns.com/
MIT License
2.25k stars 642 forks source link

overriding css in animate.css #191

Open spitfire64 opened 6 years ago

spitfire64 commented 6 years ago

I wonder how to change css to animation-duration: 4s; in this script:

<script>

    $.notify({
        // Options
        message: '<?php escEcho($this->session->flashdata('message'));?>'
    },{
        // Settings
        type: '<?php escEcho($this->session->flashdata('message_type'));?>',
        offset: {
            x: 100,
            y: 100
        },
        animate: {
            enter: 'animated fadeInDownBig',
            exit: 'animated fadeOutRight'
        }
    });

</script>
mouse0270 commented 6 years ago

This should do the trick

.animated {
  -webkit-animation-duration: 4s;
  animation-duration: 4s;
}