css를 이용한 툴팁만들기
<!DOCTYPE html>
<html>
<style>
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted black;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
/* Position the tooltip */
position: absolute;
z-index: 1;
}
.tooltip:hover .tooltiptext {
visibility: visible;
}
</style>
<body style="text-align:center;">
<p>Move the mouse over the text below:</p>
<div class="tooltip">Hover over me
<span class="tooltiptext">Tooltip text</span>
</div>
<p>Note that the position of the tooltip text isn't very good. Go back to the tutorial and continue reading on how to position the tooltip in an desirable way.</p>
</body>
</html>
게시판 목록
퍼블리셔팁
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 1187 | 기타 | 6년 전 | 2273 | ||
| 1186 | 기타 | 6년 전 | 2106 | ||
| 1185 | 기타 | 6년 전 | 2105 | ||
| 1184 | 기타 | 6년 전 | 2114 | ||
| 1183 | 기타 | 6년 전 | 1870 | ||
| 1182 | 기타 | 6년 전 | 2152 | ||
| 1181 | 기타 | 6년 전 | 1737 | ||
| 1180 | 기타 | 6년 전 | 1941 | ||
| 1179 | 기타 | 6년 전 | 2143 | ||
| 1178 | 기타 | 6년 전 | 2231 | ||
| 1177 | 기타 | 6년 전 | 1763 | ||
| 1176 | 기타 | 6년 전 | 1619 | ||
| 1175 | 기타 | 6년 전 | 2090 | ||
| 1174 | 기타 | 6년 전 | 1653 | ||
| 1173 | 기타 | 6년 전 | 1498 | ||
| 1172 | 기타 | 6년 전 | 1682 | ||
| 1171 | 기타 | 6년 전 | 1372 | ||
| 1170 | 기타 | 6년 전 | 1553 | ||
| 1169 | 기타 | 6년 전 | 1286 | ||
| 1168 | 기타 | 6년 전 | 1412 | ||
| 1167 | 기타 | 6년 전 | 1280 | ||
| 1166 | 기타 | 6년 전 | 1598 | ||
| 1165 | 기타 | 6년 전 | 1341 | ||
| 1164 | 기타 | 6년 전 | 1657 | ||
| 1163 | 기타 | 6년 전 | 1626 | ||
| 1162 | 기타 | 6년 전 | 1585 | ||
| 1161 | 기타 | 6년 전 | 3421 | ||
| 1160 | 기타 | 6년 전 | 3097 | ||
| 1159 | 기타 | 6년 전 | 2209 | ||
| 1158 | 기타 | 6년 전 | 1901 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기