Skip to content

Commit dc48f51

Browse files
committed
added generative art pattern
1 parent 2241c18 commit dc48f51

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

11. Generative Art/index.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html lang="en" dir="ltr">
3+
<head>
4+
<meta charset="utf-8">
5+
<title></title>
6+
<link rel="stylesheet" href="styles.css">
7+
</head>
8+
<body>
9+
</body>
10+
</html>

11. Generative Art/styles.css

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
body:before {
2+
content: "";
3+
position: fixed;
4+
inset: -50px;
5+
background:
6+
repeating-radial-gradient(#000 0 0.0001%,#fff 0 0.0002%)
7+
60% 60%/3000px 3000px,
8+
repeating-conic-gradient(#000 0 0.0001%,#fff 0 0.0002%)
9+
40% 40%/4000px 3000px;
10+
background-blend-mode: difference;
11+
filter: blur(2px) contrast(100) brightness(40);
12+
mix-blend-mode: lighten;
13+
}
14+
15+
body {
16+
background: #00DFFC;
17+
margin: 0;
18+
min-height: 100vh;
19+
}
20+
21+
html {
22+
background: #fff;
23+
}

0 commit comments

Comments
 (0)