-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathCreative interface.html
110 lines (100 loc) · 2.71 KB
/
Creative interface.html
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
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Interactive UI Page</title>
<style>
body, html {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
scroll-behavior: smooth;
}
/* Hero Section */
.hero {
background-attachment: fixed;
background-size: cover;
text-align: center;
color: #fff;
padding: 80px 20px;
transition: transform 0.3s ease;
}
.hero:hover {
transform: scale(1.02);
}
.hero h1 {
font-size: 48px;
margin-bottom: 20px;
}
.card-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
padding: 40px;
}
.card {
width: 300px;
height: 200px;
margin: 20px;
perspective: 1000px;
}
.card-inner {
position: relative;
width: 100%;
height: 100%;
transition: transform 0.6s;
}
.card:hover .card-inner {
transform: rotateY(180deg);
}
.card-front, .card-back {
position: absolute;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
font-weight: bold;
color: white;
border-radius: 10px;
}
.card-front {
background: #0077b5;
}
.card-back {
background: #e4405f;
transform: rotateY(180deg);
}
</style>
</head>
<body>
<!-- Hero Section -->
<section class="hero">
<h1>Welcome to Our Interactive Page</h1>
<p>Explore the features below to see creative UI in action!</p>
</section>
<!-- Card Section -->
<div class="card-container">
<div class="card">
<div class="card-inner">
<div class="card-front">Front 1</div>
<div class="card-back">Back 1</div>
</div>
</div>
<div class="card">
<div class="card-inner">
<div class="card-front">Front 2</div>
<div class="card-back">Back 2</div>
</div>
</div>
<div class="card">
<div class="card-inner">
<div class="card-front">Front 3</div>
<div class="card-back">Back 3</div>
</div>
</div>
</div>
</body>
</html>