<style type="text/css">
    .custom-message{
        position: fixed;
        left: 12px;
        bottom: 12px;
        z-index: 999999;
        display: inline-flex;
    }
    @keyframes slideaway {
      from { display: block; }
      to { transform: translateY(40px); opacity: 0;}
    }
    .custom-message-style{
      animation: slideaway 1000ms;
      display: none;
    }
</style>

    <div class="custom-message">
        <?php if(Session::has('success')): ?>
            <div class="alert alert-success alert-dismissible">
                <button type="button" class="close" data-dismiss="alert">&times;</button>
                <strong>Success!</strong> <?php echo e(Session::get('success')); ?>.
            </div>
        <?php endif; ?>

        <?php if(Session::has('danger')): ?>
            <div class="alert alert-danger alert-dismissible">
                <button type="button" class="close" data-dismiss="alert">&times;</button>
                <strong>Warning!</strong> <?php echo e(Session::get('danger')); ?>.
            </div>
        <?php endif; ?>
    </div>

<script>
setTimeout(message, 3000);
function message() {
  $('.custom-message').addClass("custom-message-style");
}
</script>


<?php /**PATH /home/hotelier/pay.hoteliersbd.com/resources/views/back/parts/message.blade.php ENDPATH**/ ?>