bootstrap4工具提示数据放置不起作用

时间:2019-09-25 12:07:08

标签: bootstrap-4 tooltip

我有一个问题,即数据放置无法正常工作。工具提示仅在底部可见。

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Bootstrap Example</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <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>
</head>
<body>

<div class="container">

 <a href="#" class="btn btn-primary" data-toggle="tooltip" data-placement="right" title="Tooltip on right">Submit</a>
</div>

</body>
</html>

0 个答案:

没有答案