TAG Jquery功能
来源:互联网 发布:mysql需要多大内存 编辑:程序博客网 时间:2024/06/18 06:15
div.tagsinput { background: #fff none repeat scroll 0 0; border: 1px solid #ccc; height: 100px; overflow-y: auto; padding: 5px; width: 300px;}.bootstrap-tagsinput { background-color: #ffffff; border: 2px solid #ebedef; border-radius: 6px; font-size: 0; margin-bottom: 18px; padding: 6px 1px 1px 6px; text-align: left;}.tagsinput-primary .tag { background-color: #1abc9c; color: #ffffff;}.bootstrap-tagsinput .tag { background-color: #ebedef; border-radius: 4px; color: #7b8996; cursor: pointer; display: inline-block; font-size: 13px; height: 27px; line-height: 15px; margin: 0 7px 7px 0; overflow: hidden; padding: 6px 21px; position: relative; transition: all 0.25s linear 0s; vertical-align: middle;}.bootstrap-tagsinput .tag > span::after { content: "x"; font-family: "Flat-UI-Icons"; line-height: 27px;}.bootstrap-tagsinput .tag > span { bottom: 0; color: #ffffff; cursor: pointer; font-size: 12px; opacity: 0; padding: 0 10px 0 0; position: absolute; right: 0; text-align: right; text-decoration: none; top: 0; transition: opacity 0.25s linear 0s; width: 100%; z-index: 2;}.bootstrap-tagsinput input[type="text"] { background-color: transparent; border: medium none; box-shadow: none; color: #34495e; font-size: 14px; height: 29px; margin: 0; max-width: inherit; min-width: 80px; outline: medium none; padding: 0; vertical-align: top; width: auto !important;}.bootstrap-tagsinput .tag:hover { background-color: #16a085; color: #ffffff; padding-left: 14px; padding-right: 28px;}.bootstrap-tagsinput .tag:hover > span { filter: none; opacity: 1;}.tagsinput-primary .tag { background-color: #1abc9c; color: #ffffff;}
JS代码
$(function (){var editor = $('#textarea1').wangEditor();$(".tagsinput").tagsinput();});
效果图如上
1 0
- TAG Jquery功能
- Tag-导出功能
- Tag功能Bar
- Tag打印功能
- Jquery:Tag切换
- 使用jQuery tag handler开发一个带有标签功能的文章发布系统
- 分享一款超强的辅助标签(Tag)输入及其提供自动补齐功能(autocomplete)的jQuery插件 - jQuery TextExt
- jquery去除div中的tag
- Tag功能介绍—我们为什么打Tag?
- Tag功能介绍—我们为什么打Tag?
- Tag功能介绍—我们为什么打Tag?
- Tag功能介绍—我们为什么打Tag?
- 公告:CSDN博客频道推出TAG功能
- WordPress 自定义分类功能 - 分类/Tag
- 关于tag标签功能的实现
- redis在tag订阅功能中的实践
- 应用第三方的jQuery Tag插件
- tag
- JavaScript函数-带参数的函数、带返回值的参数
- 黑马程序员——Java---类继承-覆盖-重载
- 利用org.json处理获得的json数据
- online_judge_1038
- Java多线程之----InheritableThreadLocal
- TAG Jquery功能
- quick的MVC
- PostgreSQL 压缩包 在win7上安装
- 在线安装maven插件问题,Maven仓库中导出jar
- tableView中的textView 或者textField 的键盘处理
- 深度学习caffe的代码怎么读?
- C语言中的关键字
- Codeforces Round #335 (Div. 2)战报(误)
- Block 传值