File tree Expand file tree Collapse file tree 1 file changed +34
-10
lines changed
Source-Code/GradientBackgroundGenerator Expand file tree Collapse file tree 1 file changed +34
-10
lines changed Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html lang ="en ">
3
- < head >
4
- < meta charset ="UTF-8 ">
5
- < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
3
+ < head >
4
+ < meta charset ="UTF-8 " / >
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " / >
6
6
< title > Gradient Background Generator</ title >
7
- < link rel ="stylesheet " href ="style.css ">
8
-
9
- </ head >
10
- < body >
11
-
7
+ < link rel ="stylesheet " type ="text/css " href ="style.css " />
8
+ </ head >
9
+ < body id ="gradient ">
10
+ < h1 > Background Generator</ h1 >
11
+ < label for ="color1 "> Choose Color 1:</ label >
12
+ < input
13
+ class ="color1 "
14
+ type ="color "
15
+ id ="color1 "
16
+ name ="color1 "
17
+ value ="#ff0000 "
18
+ />
19
+ < label for ="color2 "> Choose Color 2:</ label >
20
+ < input
21
+ class ="color2 "
22
+ type ="color "
23
+ id ="color2 "
24
+ name ="color2 "
25
+ value ="#ffff00 "
26
+ />
27
+ < h2 > Current CSS Background</ h2 >
28
+ < div id ="css-container ">
29
+ < h3 id ="css-background "> </ h3 >
30
+ < button id ="copy-btn ">
31
+ < span class ="transition "> </ span >
32
+ < span class ="gradient "> </ span >
33
+ Copy
34
+ </ button >
35
+ </ div >
12
36
< script src ="script.js "> </ script >
13
- </ body >
14
- </ html >
37
+ </ body >
38
+ </ html >
You can’t perform that action at this time.
0 commit comments