Jquery Toast Type Notification Popup Design

 Jquery Notification Popup Design

Jquery Toast Type Notification Popup Design

Jquery Toast Type Notification Popup Design

Jquery Toast Type Notification Popup Design


  

 


<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HTML VS CSS</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <STyle>
        @import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

        * {
            margin0;
            padding0;
            user-selectnone;
            box-sizingborder-box;
            font-family'Poppins'sans-serif;
        }

        html,
        body {
            height100%;
        }

        body {
            displaygrid;
            place-itemscenter;
            overflowhidden;
        }

        button {
            padding8px 16px;
            font-size25px;
            font-weight500;
            border-radius4px;
            bordernone;
            outlinenone;
            background#187900;
            colorwhite;
            letter-spacing1px;
            cursorpointer;
        }

        .alert {
            background#ffdb9b;
            padding20px 40px;
            min-width420px;
            positionabsolute;
            right0;
            top10px;
            border-radius7px;
            border-left8px solid #ffa502;
            overflowhidden;
            opacity0;
            pointer-eventsnone;
        }

        .alert.showAlert {
            opacity1;
            pointer-eventsauto;
        }

        .alert.show {
            animation: show_slide 1s ease forwards;
        }

        @keyframes show_slide {
            0% {
                transformtranslateX(100%);
            }

            40% {
                transformtranslateX(-10%);
            }

            80% {
                transformtranslateX(0%);
            }

            100% {
                transformtranslateX(-10px);
            }
        }

        .alert.hide {
            animation: hide_slide 1s ease forwards;
        }

        @keyframes hide_slide {
            0% {
                transformtranslateX(-10px);
            }

            40% {
                transformtranslateX(0%);
            }

            80% {
                transformtranslateX(-10%);
            }

            100% {
                transformtranslateX(100%);
            }
        }

        .alert .fa-exclamation-circle {
            positionabsolute;
            left20px;
            top50%;
            transformtranslateY(-50%);
            color#ce8500;
            font-size30px;
        }

        .alert .msg {
            padding0 20px;
            font-size18px;
            color#ce8500;
        }

        .alert .close-btn {
            positionabsolute;
            right0px;
            top50%;
            transformtranslateY(-50%);
            background#ffd080;
            padding20px 18px;
            cursorpointer;
        }

        .alert .close-btn:hover {
            background#ffc766;
        }

        .alert .close-btn .fas {
            color#ce8500;
            font-size22px;
            line-height40px;
        }
    </STyle>
</head>

<body>
    <button>Login</button>
    <div class="alert hide">
        <span class="fa fa-exclamation-circle"></span>
        <span class="msg">Warning: This is a warning alert!</span>
        <div class="close-btn">
            <span class="fa fa-times"></span>
        </div>
    </div>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script>
        $('button').click(function () {
            $('.alert').addClass("show");
            $('.alert').removeClass("hide");
            $('.alert').addClass("showAlert");
            setTimeout(function () {
                $('.alert').removeClass("show");
                $('.alert').addClass("hide");
            }, 5000);
        });
        $('.close-btn').click(function () {
            $('.alert').removeClass("show");
            $('.alert').addClass("hide");
        });
    </script>
</body>

</html>

How To Use This Cord

steps

  1. Fast One Copy Html File.
  2. Copy CSS File And Past Head Part Top Fo Html File.  
  3. File Save Name.html
  4. Ran Html File 
  5. Ready To Use

Solve This Problem

  • Toast Notification Jquery
  • Toast Notification
  • Jquery Toast Message Jsfiddle
  • Jquery Toast Codepen
  • Toast Notification Codepen
  • Toast Notification Example
  • Toast Notification Javascript
  • Toastr Jquery Example
  • Toast Notification Example
  • Toastr Jquery Example
  • Bootstrap Toast Notification Jquery
  • Jquery Toast Message Jsfiddle
  • Jquery Toast Codepen Type
  • Toast Notification Codepen  Type
  • Toast Notification Javascript

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.