forked from rahul22mrk/hackoctoberfest2021
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path3D html project
99 lines (90 loc) · 1.39 KB
/
3D html project
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
<link rel="icon" type="image/x-icon" href="D:\icon\$RHQD7IF.ico">
<meta charset="utf-8">
<title>css border Effect</title>
<style>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.body
{
background-color: black;
display: flex;
justify-content: space-around;
align-items: center;
min-height: 100vh;
}
.box
{
position: relative;
background-color: white;
width: 300px;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
}
.box::before
{
content: '';
position: absolute;
top:-4px;
left: -4px;
right: -4px;
bottom: -4px;
transform: skew(2deg) skew(4deg);
background: linear-gradient(315deg,#00ccff,#0e1538,#d400d4);
}
.box::after
{
content: '';
position: absolute;
top:-4px;
left: -4px;
right: -4px;
bottom: -4px;
transform: skew(2deg) skew(4deg);
background: linear-gradient(315deg,#00ccff,#0e1538,#d400d4);
filter: blur(50px);
}
.box span
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: black;
z-index: 1;
}
.box h1
{
position: relative;
z-index:2 ;
color: white;
font-size: 100px;
font-family: arial;
}
</style>
</head>
<body style="background-color:black;">
<div class="body">
<div class="box">
<span> </span>
<h1>PS</h1>
</div>
<div class="box">
<span> </span>
<h1>HTML</h1>
</div>
<div class="box">
<span> </span>
<h1>CSS</h1>
</div>
</div>
</body>
</html>