틀:맑빛 툴팁: 두 판 사이의 차이

(내용을 "."(으)로 바꿈)
태그: 대체됨
편집 요약 없음
1번째 줄: 1번째 줄:
.
<span class="tooltip" style="position: relative; cursor: help; border-bottom: 1px dotted;">
  {{{1}}}
  <span class="tooltiptext" style="
    visibility: hidden;
    width: max-content;
    max-width: 300px;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px 8px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s;
  ">
    {{{2}}}
  </span>
</span>
 
{{#css:
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
}}

2025년 7월 12일 (토) 03:39 판

 {{{1}}}