-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathind.html
More file actions
51 lines (43 loc) · 1.04 KB
/
ind.html
File metadata and controls
51 lines (43 loc) · 1.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.circular-text {
position: relative;
width: 300px; /* Adjust size as per requirement */
height: 300px;
border-radius: 50%;
text-align: center;
margin: 0 auto;
}
.circular-text span {
position: absolute;
width: 20px; /* Adjust according to the size of the letter */
height: 20px;
transform-origin: 150px 150px; /* Half of the container size */
}
.circular-text span:nth-child(1) {
transform: rotate(0deg) translate(150px);
}
.circular-text span:nth-child(2) {
transform: rotate(15deg) translate(150px);
}
.circular-text span:nth-child(3) {
transform: rotate(30deg) translate(150px);
}
/* Add more children with increasing degrees */
</style>
</head>
<body>
<div class="circular-text">
<span>H</span>
<span>E</span>
<span>L</span>
<span>L</span>
<span>O</span>
</div>
</body>
</html>