Design Tooltip CSS & HTML JAJASCRIPT

Design Tooltip CSS & HTML JAJASCRIPT



Design Tooltip CSS & HTML JAJASCRIPT 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Tooltip</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.
com/bootstrap/4.3.1/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/
jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7
/umd/popper.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/
bootstrap.min.js"></script>
  <script src="https://kit.fontawesome.com/a076d05399.js"></script>
</head>
<body>
    <br>
    <h3 class="text-center text-bold text-danger">Tooltip Example</h3>
    <hr>
    <div class="text-center">
        <br>
        <br>
        <a href="#" data-toggle="tooltip" data-placement="right"data-html="true"
            title='<h3 class="text-bold text-danger">SOENG SOUY</h3>
            Hi Every one is me that is Tooltip thank you
            for click me.<hr><i class="fab fa-youtube"></i>
            <i class="fab fa-facebook-f"></i>
            <i class="fab fa-twitter"></i>
            '><i class="fas fa-american-sign-language-interpreting"></i>
          </a>
    </div>
    <br>
    <br>
    <br>
    <style>
        hr{
            border1px solid red;
        }
        .fa-american-sign-language-interpreting{
            font-size48px;
        }
        .fa-youtube{
            font-size20px;
            color:red;
        }
        .fa-facebook-f{
            font-size20px;
            colorrgb(0131245);
        }
        .fa-twitter{
            font-size20px;
            colorrgb(45141224); 
        }
        .tooltip-inner{
            max-width236px !important;
            padding10px 15px 10px 20px;
            backgroundwhite;
            colorrgb(0,0,0);
            border1px solid red;
            box-shadow5px 10px #2422226c;
        }
    </style>


    <script>
        $(document).ready(function()
        {
            $('[data-toggle="tooltip"]').tooltip();
        });
    </script>


</body>
</html>
Reactions

Post a Comment

0 Comments

close