-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathex4.html
More file actions
48 lines (41 loc) · 1.28 KB
/
ex4.html
File metadata and controls
48 lines (41 loc) · 1.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Пример 4 - Эффект матового стекла</title>
<link rel="shortcut icon" href="logo.png" type="image/x-icon">
<link rel="stylesheet" href="style.css">
<style>
body {
background-image: url(bg.jpg);
background-size: cover;
background-repeat: no-repeat;
}
div {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
-webkit-backdrop-filter: blur(3px);
backdrop-filter: blur(3px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
border-radius: 10px;
color: #fff;
font-family: sans-serif;
font-weight: bold;
font-size: 30px;
height: 50px;
width: 400px;
padding: 10px;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 10px;
}
</style>
</head>
<body>
<div>Folombas Web</div>
<a href="index.html">Главная</a>
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter" target="_blank">Подробнее</a>
<a href="https://caniuse.com/?search=backdrop-filter" target="_blank">Поддержка</a>
</body>
</html>