zfrhta
Last Updated: June 12, 2019
·
46
· Juliarenareal

Ring Call Button using CSS HTML and SVG Programming

Style.css

/Ring Call/
.call-fix-button {
background: rgb(255, 255, 255);
z-index: 999999;
position: fixed;
width: 160px;
height: 150px;
text-align: center;
padding-top: 30px;
border-radius: 5px;
right: 50px;
bottom: 70px;
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
color: #3f3636;
border: 1px solid #aeaeae;
}
.call-fix-button p {
margin-bottom: 10px;
font-size: 16px;
text-align: center;
}
.different-button {
color: #424040;
}
.different-button a {
color: #3a85eb;
text-decoration: inherit;
}

Capa_1{

animation: ring 2s ease infinite;
transform-origin-x: 50%;
transform-origin-y: 0px;
transform-origin-z: initial;
-webkit-animation: pulsate 1s ease-out;
-webkit-animation-iteration-count: infinite;
}
@-webkit-keyframes pulsate {
0% {-webkit-transform: scale(0.1, 0.1); opacity: 0.0;}
50% {opacity: 1.0;}
100% {-webkit-transform: scale(1.2, 1.2); opacity: 0.0;}
}
@keyframes ring {
0%{transform:rotate(-15deg)}
2%{transform:rotate(15deg)}
4%{transform:rotate(-18deg)}
6%{transform:rotate(18deg)}
8%{transform:rotate(-22deg)}
10%{transform:rotate(22deg)}
12%{transform:rotate(-18deg)}
14%{transform:rotate(18deg)}
16%{transform:rotate(-12deg)}
18%{transform:rotate(12deg)}
20%,100%{transform:rotate(0deg)}
}

/*white background */

.device-troubleshoot {
background: #fff;
box-shadow: 0 1px 5px rgba(85,85,85,.35);
padding: 20px;
min-height: 150px;
}

/Ring Call End/

/*************************footer code*********************************/

<!-- //// ringing //// -->
                    <a href="https://www.realprinterfix247.us/hp-support-assistant/">   <a class="different-button" href="tel:1800-608-2315">
        <div class="call-fix-button">
            <svg xmlns=""  xmlns:xlink="" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 480.56 480.56" style="enable-background:new 0 0 480.56 480.56;" xml:space="preserve" width="50px" height="50px"><g><g>
            <path d="M365.354,317.9c-15.7-15.5-35.3-15.5-50.9,0c-11.9,11.8-23.8,23.6-35.5,35.6c-3.2,3.3-5.9,4-9.8,1.8    c-7.7-4.2-15.9-7.6-23.3-12.2c-34.5-21.7-63.4-49.6-89-81c-12.7-15.6-24-32.3-31.9-51.1c-1.6-3.8-1.3-6.3,1.8-9.4    c11.9-11.5,23.5-23.3,35.2-35.1c16.3-16.4,16.3-35.6-0.1-52.1c-9.3-9.4-18.6-18.6-27.9-28c-9.6-9.6-19.1-19.3-28.8-28.8    c-15.7-15.3-35.3-15.3-50.9,0.1c-12,11.8-23.5,23.9-35.7,35.5c-11.3,10.7-17,23.8-18.2,39.1c-1.9,24.9,4.2,48.4,12.8,71.3    c17.6,47.4,44.4,89.5,76.9,128.1c43.9,52.2,96.3,93.5,157.6,123.3c27.6,13.4,56.2,23.7,87.3,25.4c21.4,1.2,40-4.2,54.9-20.9    c10.2-11.4,21.7-21.8,32.5-32.7c16-16.2,16.1-35.8,0.2-51.8C403.554,355.9,384.454,336.9,365.354,317.9z" fill="#334988"/>
            <path d="M346.254,238.2l36.9-6.3c-5.8-33.9-21.8-64.6-46.1-89c-25.7-25.7-58.2-41.9-94-46.9l-5.2,37.1    c27.7,3.9,52.9,16.4,72.8,36.3C329.454,188.2,341.754,212,346.254,238.2z" fill="#334988"/>
            <path d="M403.954,77.8c-42.6-42.6-96.5-69.5-156-77.8l-5.2,37.1c51.4,7.2,98,30.5,134.8,67.2c34.9,34.9,57.8,79,66.1,127.5    l36.9-6.3C470.854,169.3,444.354,118.3,403.954,77.8z" fill="#334988"/>
            </g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>
            <p>Toll Free No : </p>
                            <strong>
            +1-800-608-2315
            </strong>   
            </p>
        </div>
    </a></a>
                @media (max-width: 600px)

.different-button {
display: none;
}