Tagify标签输入示例代码
代码语言:html
所属分类:其他
代码描述:Tagify标签输入示例代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Tagify 标签示例</title> <!-- 引入 Tagify CSS --> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/tagify.css"> <style> body { font-family: Arial, sans-serif; max-width: 800px; margin: 50px auto; padding: 20px; } .tagify-container { margin-bottom: 20px; } .tagify { min-height: 100px; } .tag-list { margin: 20px 0; } .tag-button { background-color: #007bff; color: white; border: none; padding: 8px 12px; margin: 5px; border-radius: 4px; cursor: pointer; font-size: 14px; } .tag-button:hover { background-color: #0056b3; } .tag-button.active { background-color: #28a745; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0