Add Floating Button At Right-Bottom Corners Of Your Website In HTML5

Want to add a floating-button that Google seem to use most of the time in their apps and websites? Like one showed below?




Here's the code-
<!--Floating Button-->
    <script>
      function fb(){
      window.location ="https://Yourcode.com";
      }
    </script>

<style>
   #floating-button{ width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #ffa500;
    position: fixed;
    bottom: 70px;
    right: 15px;
    cursor: pointer;
    box-shadow: 0px 2px 5px #666;
    z-index: 1000;
    transition-delay: 2s;
  }
</style>
Kaleem Khan

I'm Kaleem Khan Citizen of Pakistan. Student Of Bachelor of Computer Science at the Virtual University Of Pakistn.

Post a Comment

Please Don't Advertise or Spam Links and Messages Here.

Previous Post Next Post

Recent Posts

Recent Posts