Skip to content

Commit f27d50a

Browse files
Added Website Check Prompt Tooltip (#1357)
1 parent 918981d commit f27d50a

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Website Check Tooltip Prompt</title>
8+
<script src="https://cdn.tailwindcss.com"></script>
9+
</head>
10+
11+
<body>
12+
<section class="flex items-center justify-center h-screen">
13+
<div class="group relative flex justify-center items-center text-zinc-600 text-sm font-bold">
14+
<div
15+
class="absolute opacity-0 group-hover:opacity-100 group-hover:-translate-y-[150%] -translate-y-[300%] duration-500 group-hover:delay-500 skew-y-[20deg] group-hover:skew-y-0 shadow-md">
16+
<div class="bg-lime-200 flex items-center gap-1 p-2 rounded-md">
17+
<svg fill="none" viewBox="0 0 24 24" height="20px" width="20px" xmlns="http://www.w3.org/2000/svg"
18+
class="stroke-zinc-600">
19+
<circle stroke-linejoin="round" r="9" cy="12" cx="12"></circle>
20+
<path stroke-linejoin="round" d="M12 3C12 3 8.5 6 8.5 12C8.5 18 12 21 12 21"></path>
21+
<path stroke-linejoin="round" d="M12 3C12 3 15.5 6 15.5 12C15.5 18 12 21 12 21"></path>
22+
<path stroke-linejoin="round" d="M3 12H21"></path>
23+
<path stroke-linejoin="round" d="M19.5 7.5H4.5"></path>
24+
<g filter="url(#filter0_d_15_556)">
25+
<path stroke-linejoin="round" d="M19.5 16.5H4.5"></path>
26+
</g>
27+
<defs>
28+
<filter color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse" height="3"
29+
width="17" y="16" x="3.5" id="filter0_d_15_556">
30+
<feFlood result="BackgroundImageFix" flood-opacity="0"></feFlood>
31+
<feColorMatrix result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
32+
type="matrix" in="SourceAlpha"></feColorMatrix>
33+
<feOffset dy="1"></feOffset>
34+
<feGaussianBlur stdDeviation="0.5"></feGaussianBlur>
35+
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" type="matrix">
36+
</feColorMatrix>
37+
<feBlend result="effect1_dropShadow_15_556" in2="BackgroundImageFix" mode="normal">
38+
</feBlend>
39+
<feBlend result="shape" in2="effect1_dropShadow_15_556" in="SourceGraphic"
40+
mode="normal">
41+
</feBlend>
42+
</filter>
43+
</defs>
44+
</svg>
45+
<span>beautiify.netlify.app</span>
46+
</div>
47+
<div
48+
class="shadow-md bg-lime-200 absolute bottom-0 translate-y-1/2 left-1/2 translate-x-full rotate-45 p-1">
49+
</div>
50+
<div
51+
class="rounded-md bg-white group-hover:opacity-0 group-hover:scale-[115%] group-hover:delay-700 duration-500 w-full h-full absolute top-0 left-0">
52+
<div
53+
class="border-b border-r border-white bg-white absolute bottom-0 translate-y-1/2 left-1/2 translate-x-full rotate-45 p-1">
54+
</div>
55+
</div>
56+
</div>
57+
58+
<div
59+
class="shadow-md flex items-center group-hover:gap-2 bg-gradient-to-br from-lime-200 to-yellow-200 p-3 rounded-full cursor-pointer duration-300">
60+
<svg fill="none" viewBox="0 0 24 24" height="20px" width="20px" xmlns="http://www.w3.org/2000/svg"
61+
class="fill-zinc-600">
62+
<path stroke-linejoin="round" stroke-linecap="round"
63+
d="M15.4306 7.70172C7.55045 7.99826 3.43929 15.232 2.17021 19.3956C2.07701 19.7014 2.31139 20 2.63107 20C2.82491 20 3.0008 19.8828 3.08334 19.7074C6.04179 13.4211 12.7066 12.3152 15.514 12.5639C15.7583 12.5856 15.9333 12.7956 15.9333 13.0409V15.1247C15.9333 15.5667 16.4648 15.7913 16.7818 15.4833L20.6976 11.6784C20.8723 11.5087 20.8993 11.2378 20.7615 11.037L16.8456 5.32965C16.5677 4.92457 15.9333 5.12126 15.9333 5.61253V7.19231C15.9333 7.46845 15.7065 7.69133 15.4306 7.70172Z">
64+
</path>
65+
</svg><span class="text-[0px] group-hover:text-sm duration-300">Check Our Website</span>
66+
</div>
67+
</div>
68+
</section>
69+
</body>
70+
71+
</html>

assets/html_files/tooltips.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,19 @@ <h1>User Profile Tooltip</h1>
231231
</a>
232232
</div>
233233
</div>
234+
<div class="box">
235+
<h1>Website Check Tooltip Prompt</h1>
236+
<div class="preview">
237+
<a href="../../Components/Tooltips/Website-Check-Tooltip-Prompt/index.html" title="Live Preview" target="_blank">
238+
<img src="../images/link.png">
239+
</a>
240+
</div>
241+
<div class="source">
242+
<a href="https://github.com/Rakesh9100/Beautiify/tree/main/Components/Tooltips/Website-Check-Tooltip-Prompt/" title="Source Code" target="_blank">
243+
<img src="../images/github.png">
244+
</a>
245+
</div>
246+
</div>
234247
</div>
235248
</section>
236249

0 commit comments

Comments
 (0)