{
  "id": "Quezaquo_bitter-wolverine-27",
  "name": "bitter-wolverine-27",
  "category": "tooltips",
  "author": "Quezaquo",
  "description": "bitter-wolverine-27 组件 (simple, tooltip, transition, animation, interactive)",
  "tags": [
    "simple",
    "tooltip",
    "transition",
    "animation",
    "interactive"
  ],
  "original": {
    "html": "<div class=\"container\">\n  <span class=\"hover-me\">Hover me !</span>\n  <div class=\"tooltip\">\n    <p>Heyy👋</p>\n  </div>\n</div>",
    "css": "/* From Uiverse.io by Quezaquo  - Tags: simple, tooltip, transition */\n.container {\n  font-size: 18px;\n  color: #333;\n  position: relative;\n  cursor: pointer;\n  display: inline-block;\n}\n\n.hover-me {\n  position: relative;\n  z-index: 1;\n  text-decoration: underline;\n  text-underline-offset: 4px;\n  text-decoration-color: #333;\n}\n\n.tooltip {\n  width: 100%;\n  height: 10px;\n  background: #ffffff;\n  padding: 0.25em;\n  text-align: center;\n  position: absolute;\n  top: 40px;\n  left: 0;\n  opacity: 0;\n  visibility: hidden;\n  transform-origin: center top;\n  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);\n  transition: opacity 0.3s ease-in-out;\n}\n\n.tooltip::before {\n  content: \"\";\n  position: absolute;\n  bottom: -8px;\n  left: 80%;\n  transform: translateX(-50%);\n  border-width: 8px 7px 0;\n  border-style: solid;\n  border-color: #ffffff transparent transparent transparent;\n  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);\n}\n\n.tooltip p {\n  margin: 0;\n  color: #333;\n  font-weight: 600;\n}\n\n.container:hover .tooltip {\n  top: -10px;\n  opacity: 1;\n  visibility: visible;\n  animation: goPopup 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;\n}\n\n.container:hover .tooltip p {\n  animation: bounce 2s ease-in-out infinite;\n}\n\n@keyframes goPopup {\n  0% {\n    transform: translateY(0) scaleY(0);\n    opacity: 0;\n  }\n  50% {\n    transform: translateY(-50%) scaleY(1.2);\n    opacity: 1;\n  }\n  100% {\n    transform: translateY(-100%) scaleY(1);\n    border-radius: 8px;\n    opacity: 1;\n    height: 40px;\n  }\n}\n\n@keyframes bounce {\n  0%,\n  20%,\n  50%,\n  80%,\n  100% {\n    transform: translateY(0);\n  }\n  40% {\n    transform: translateY(-3px);\n  }\n  60% {\n    transform: translateY(-2px);\n  }\n}",
    "file_path": "/mnt/persist/workspace/Tooltips/Quezaquo_bitter-wolverine-27.html"
  },
  "uniapp": {
    "template": "<view class=\"container\"></view>\n  <text class=\"hover-me\">Hover me !</text>\n  <view class=\"tooltip\"></view>\n    <text>Heyy👋</text>\n  </div>\n</div>",
    "script": "export default {\n  name: 'GalaxyBitterWolverine27',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by Quezaquo  - Tags: simple, tooltip, transition */\n.container {\n  font-size: 36rpx;\n  color: #333;\n  position: relative;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  display: inline-block;\n}\n\n.hover-me {\n  position: relative;\n  z-index: 1;\n  text-decoration: underline;\n  text-underline-offset: 8rpx;\n  text-decoration-color: #333;\n}\n\n.tooltip {\n  width: 100%;\n  height: 20rpx;\n  background: #ffffff;\n  padding: 0.25em;\n  text-align: center;\n  position: absolute;\n  top: 80rpx;\n  left: 0;\n  opacity: 0;\n  visibility: hidden;\n  transform-origin: center top;\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0rpx 0rpx 20rpx rgba(0, 0, 0, 0.05);\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  transition: opacity 0.3s ease-in-out;\n}\n\n.tooltip::before {\n  content: \"\";\n  position: absolute;\n  bottom: -16rpx;\n  left: 80%;\n  transform: translateX(-50%);\n  border-width: 16rpx 14rpx 0;\n  border-style: solid;\n  border-color: #ffffff transparent transparent transparent;\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0rpx 0rpx 20rpx rgba(0, 0, 0, 0.05);\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n}\n\n.tooltip p {\n  margin: 0;\n  color: #333;\n  font-weight: 600;\n}\n\n.container:hover .tooltip {\n  top: -20rpx;\n  opacity: 1;\n  visibility: visible;\n  animation: goPopup 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;\n}\n\n.container:hover .tooltip p {\n  animation: bounce 2s ease-in-out infinite;\n}\n\n@keyframes goPopup {\n  0% {\n    transform: translateY(0) scaleY(0);\n    opacity: 0;\n  }\n  50% {\n    transform: translateY(-50%) scaleY(1.2);\n    opacity: 1;\n  }\n  100% {\n    transform: translateY(-100%) scaleY(1);\n    border-radius: 16rpx;\n    opacity: 1;\n    height: 80rpx;\n  }\n}\n\n@keyframes bounce {\n  0%,\n  20%,\n  50%,\n  80%,\n  100% {\n    transform: translateY(0);\n  }\n  40% {\n    transform: translateY(-6rpx);\n  }\n  60% {\n    transform: translateY(-4rpx);\n  }\n}\n\n",
    "component_name": "GalaxyBitterWolverine27"
  },
  "platforms": {
    "h5": true,
    "mp-weixin": true,
    "mp-alipay": true,
    "mp-baidu": true,
    "mp-toutiao": true,
    "app-plus": true
  },
  "props": [
    {
      "name": "disabled",
      "type": "Boolean",
      "default": false,
      "required": false,
      "description": "是否禁用"
    }
  ],
  "events": [],
  "slots": [
    {
      "name": "",
      "description": "",
      "props": []
    }
  ],
  "compatibility": {
    "h5": {
      "supported": true,
      "issues": [],
      "alternatives": []
    },
    "mp-weixin": {
      "supported": true,
      "issues": [
        "不支持 box-shadow 属性",
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "mp-alipay": {
      "supported": true,
      "issues": [
        "不支持 box-shadow 属性",
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "app-plus": {
      "supported": true,
      "issues": [],
      "alternatives": []
    }
  },
  "performance": {
    "complexity": "medium",
    "bundle_size": 1810,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:38.539Z",
  "updated_at": "2025-07-31T07:55:38.539Z"
}