html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Image Generator</title>
<!-- External CSS -->
<link rel="stylesheet" href="style.css">
<style>
/* Styling for buttons and inputs */
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #f9f9f9;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
min-height: 100vh;
}
.button-container, .input-container {
text-align: center;
margin-top: 20px;
width: 100%;
max-width: 300px;
}
css
css
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
*, *::before, *::after {
padding: 0;
margin: 0 auto;
box-sizing: border-box;
}
body {
background-color: #000;
color: #fff;
min-height: 100vh;
display: grid;
place-items: center;
perspective: 800px;
overflow: hidden;
* {
transform-style: preserve-3d;
}
--duration: 2s;
--delay: -3s;
}
.scene {
position: relative;
animation: scene 48s -28s infinite linear;
* {
js
js
1
BROWSER
Console
Uruchom