Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

HTML & CSS Blinking Button Code with icons

Hi
I want blinking button code like below image with icon like fb telegram email like that
is there any website available for generate button for below or any code available please provide me Thanks


blink.JPG
 
What do you mean by blinking button exactly? As in it continuously flashes? Unfortunately, the image you uploaded is static so not sure if that is what you mean.
 
There are no blinking button like you said, but there is a bell icon with a blinking dot on it. If you are talking about that than here is your blinking button -
HTML:
<!DOCTYPE html>

<html lang="en">

<head>
    <meta charset="UTF-8" />
    <title>Blinking Dot</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
        }
       
        .main {
            width: 100%;
            height: 100vh;
        }
       
        .icon {
            width: 100%;
            height: 3rem;
            background-color: #ED4250;
            display: flex;
            align-items: center;
        }
       
        .icon > a {
            position: relative;
            margin-left: 2rem;
            color: #fff;
            background: transparent;
        }
       
        .dot {
            position: absolute;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            top: -5px;
            left: -1px;
            box-shadow: 1px 1px 10px #000;
            animation: 0.5s blink ease infinite;
 
        }
       
        @keyframes blink {
            from, to {
                opacity: 0.5;
                background-color: #000;
            }
                50% {
                opacity: 1;
                background-color: #86D9D8;
            }
        }
    </style>
</head>

<body>
    <div class="main">
        <div class="icon icon-star-bg" role="img" aria-label="Favorite">
            <a href="#"><span class="dot"></span><i class="fa fa-bell"></i></a>
        </div>
    </div>

</body>

</html>
 
There are no blinking button like you said, but there is a bell icon with a blinking dot on it. If you are talking about that than here is your blinking button -
HTML:
<!DOCTYPE html>

<html lang="en">

<head>
    <meta charset="UTF-8" />
    <title>Blinking Dot</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
        }
      
        .main {
            width: 100%;
            height: 100vh;
        }
      
        .icon {
            width: 100%;
            height: 3rem;
            background-color: #ED4250;
            display: flex;
            align-items: center;
        }
      
        .icon > a {
            position: relative;
            margin-left: 2rem;
            color: #fff;
            background: transparent;
        }
      
        .dot {
            position: absolute;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            top: -5px;
            left: -1px;
            box-shadow: 1px 1px 10px #000;
            animation: 0.5s blink ease infinite;
 
        }
      
        @keyframes blink {
            from, to {
                opacity: 0.5;
                background-color: #000;
            }
                50% {
                opacity: 1;
                background-color: #86D9D8;
            }
        }
    </style>
</head>

<body>
    <div class="main">
        <div class="icon icon-star-bg" role="img" aria-label="Favorite">
            <a href="#"><span class="dot"></span><i class="fa fa-bell"></i></a>
        </div>
    </div>

</body>

</html>
sorry , Email register blinking button on below page

or any other website is available to generate html code for blinking button and animated text pls suggest.
 
Here -
HTML:
<!DOCTYPE html>

<html lang="en">

<head>
    <meta charset="UTF-8" />
    <title>Blinking Dot</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
        }
      
        .main {
            width: 100%;
            height: 100vh;
        }
      
        .icon {
            width: 100%;
            height: 3rem;
            background-color: #ED4250;
            display: flex;
            align-items: center;
        }
      
        .icon > a {
            position: relative;
            margin-left: 2rem;
            color: #fff;
            background: transparent;
        }
      
        .dot {
            position: absolute;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            top: -5px;
            left: -1px;
            box-shadow: 1px 1px 10px #000;
            animation: 0.5s blink1 ease infinite;
 
        }
      
        @keyframes blink1 {
            from, to {
                opacity: 0.5;
                background-color: #000;
            }
                100% {
                opacity: 1;
                background-color: #86D9D8;
            }
        }
      
        .email-btn {
            margin: 2rem 5rem;
        }
      
        button {
            background: #027d67;color:#fff;
            font-size: 16px;
            font-weight: bold;
            padding: 10px 15px;
            border: none;
            border-radius: 23px;margin:5px;
            cursor: pointer;
            animation: blink2 1s infinite;
        }
      
        button:hover {
            background: #560111;
            box-shadow: 0 0 5px #000;
            animation: none
        }
      
        button > .fa-envelope {
            margin-right: 1rem;
          
        }
      
        @keyframes blink2 {
            0% {
                box-shadow:0 0 0 0 #3DA252;
            }
            100% {
                box-shadow:0 0 0 12px transparent;
            }
        }
    </style>
</head>

<body>
    <div class="main">
        <div class="icon icon-star-bg" role="img" aria-label="Favorite">
            <a href="#"><span class="dot"></span><i class="fa fa-bell"></i></a>
        </div>
        <div class="email-btn">
            <button><i class="fa fa-envelope" aria-hidden="true"></i> Email Register</button>
        </div>
    </div>

</body>

</html>
 

Attachments

  • Blinking.gif
    Blinking.gif
    121.7 KB · Views: 1

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom