纯css实现的提示工具-balloon.css
部分代码(完整包见资源下载链接)
注:资源上传时默认付费,可以私信我,我看到会回复的
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>纯css实现的提示工具-balloon.css</title>
<link href="./balloon.css" rel="stylesheet" type="text/css">
<style>
</style>
</head>
<body>
<div class="container">
<h1>纯css实现的提示工具</h1>
<div class="box" data-balloon="提示在上面" data-balloon-pos="up">
<p>提示在上面</p>
</div>
<div class="box" data-balloon="提示在下面" data-balloon-pos="down">
<p>提示在下面</p>
</div>
<div class="box" data-balloon="提示气泡比较大" data-balloon-pos="down" data-balloon-length="xlarge">
<p>大提示气泡</p>
</div>
<div class="box" data-balloon="还可以输入html" data-balloon-pos="right">
<p>html文本</p>
</div>
</div>
</body>
</html>
本文来自博客园,作者:JackieDYH,转载请注明原文链接:https://www.cnblogs.com/JackieDYH/p/17634405.html