使用Tooltips库在页面进行hint提示
来源:互联网 发布:ubuntu无法登录界面 编辑:程序博客网 时间:2024/06/05 09:05
有时候我们前端页面一些按钮或内容,当鼠标悬停在上面时给予一定的提示。那么我们就可以使用该样式库,使用起来很方便。
样式在以下链接下载:
在线DEMO:http://kushagragour.in/lab/hint/
下载地址(Github):https://github.com/chinchang/hint.css
简单示例:
<!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <link href="css/hint.css" rel="stylesheet" /> </head> <body> <br /><br /><br /> <div class="hint--bottom-right" data-hint="提示"> 下右 </div> <div class="hint--bottom-left" data-hint="提示"> 下左 </div> <div class="hint--right" data-hint="提示"> 右 </div> <div class="hint--top" data-hint="提示"> 上 </div> <div class="hint--left" data-hint="提示"> 左 </div> <div class="hint--top-left" data-hint="提示"> 左上 </div> <div class="hint--bottom" data-hint="提示"> 下 </div> <div class="hint--bottom hint--error" data-hint="提示"> 错误 </div> <div class="hint--bottom hint--warning" data-hint="提示"> 警告 </div> <div class="hint--bottom hint--info" data-hint="提示"> 信息 </div> <div class="hint--bottom hint--success" data-hint="提示"> 成功 </div> <div class="hint--top hint--small" data-hint="小"> 小 </div> <div class="hint--top hint--medium" data-hint="中"> 中 </div> <div class="hint--top-left hint--large" data-hint="大"> 大 </div> <div class="hint--bottom hint--always" aria-label="一直显示"> 一直显示 </div> <br /> <div class="hint--bottom hint--rounded" aria-label="显示"> 圆角显示 <div/> </body></html>
阅读全文
0 0
- 使用Tooltips库在页面进行hint提示
- 如何定制页面提示信息(tooltips)
- 如何定制页面提示信息(tooltips)
- Oracle如何在有视图的SQL中使用hint(提示)来设置视图内的
- SQL hint中正确使用use_nl提示
- 在Android中使用Notification进行提示
- 在Android中使用Toast进行提示
- 在Android中使用Notification进行提示
- 在Android中使用Notification进行提示
- Toast在进行页面跳转后关闭提示的解决方法!
- Extjs4单元格的tooltips提示
- 使用JavaScript在页面中进行跳转
- ORACLE如何在有视图的SQL中使用hint(提示)来设置视图内的SQL查询方式
- ORACLE如何在有视图的SQL中使用hint(提示)来设置视图内的SQL查询方式
- ORACLE如何在有视图的SQL中使用hint(提示)来设置视图内的SQL查询方式
- 离开编辑页面提示,并且在提交时不进行提示的jquery
- hint使用
- tooltips
- Adroidstudio中创建数据库
- OGG:Oracle to MySQL异构复制环境搭建
- Find the nondecreasing subsequences(数状数组+离散化+dp)
- 聊聊session的安全性
- 进制转换_Java
- 使用Tooltips库在页面进行hint提示
- 执行SQL语句的增删改查
- ERROR 1118 : Row size too large. The maximum row size for the used table type
- TypeError: __init__() takes at least 4 arguments (4 given)
- 润乾报表中参数表单关联过滤异步加载用法
- python-爬虫(1)
- python爬虫:BeautifulSoup 使用select方法的使用
- 搜索引擎关键字智能提示的一种实现
- 二进制中1的个数