-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
77 lines (70 loc) · 1.37 KB
/
Copy pathstyle.css
File metadata and controls
77 lines (70 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
cursor: none;
overflow: hidden;
}
#center {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
overflow: visible;
}
#center h1 {
font-size: 7vw;
color: #000;
text-align: center;
font-family: 'Arial Black', sans-serif;
line-height: 1.1;
font-weight: 500;
letter-spacing: -2px;
z-index: 1;
pointer-events: none;
user-select: none;
text-transform: uppercase;
position: relative;
}
#center h1 span {
font-weight: 900;
display: block;
font-size: 8vw;
}
.imagediv {
position: absolute;
width: 180px;
height: 200px;
overflow: hidden; /* ✅ hidden rakhna jaruri hai */
pointer-events: none;
border-radius: 30px;
transform: translate(-50%, -50%);
/* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); */
z-index: 5;
background: transparent; /* ✅ explicitly transparent */
}
.imagediv img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
background:transparent; /* ✅ loading placeholder */
}
#cursor {
position: fixed;
width: 20px;
height: 20px;
border: 2px solid #000;
border-radius: 50%;
z-index: 9999;
transition: transform 0.5s ease;
mix-blend-mode: difference;
}