Skip to content

Commit 989d86f

Browse files
committed
Feat : custom css
1 parent c81b850 commit 989d86f

File tree

2 files changed

+38
-18
lines changed

2 files changed

+38
-18
lines changed

index.css

+36-16
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,38 @@
1-
body{
2-
display: flex;
3-
padding: 2vw;
4-
background: linear-gradient(to bottom, rgb(218, 207, 207),rgb(201, 201, 212));
1+
body {
2+
display: flex;
3+
padding: 2vw;
4+
background: linear-gradient(
5+
to bottom,
6+
rgb(218, 207, 207),
7+
rgb(201, 201, 212)
8+
);
59
}
6-
textarea{
7-
width: 90%;
8-
height: 87vh;
10+
textarea {
11+
width: 90%;
12+
height: 87vh;
13+
padding: 10px;
14+
outline: none;
15+
font-family: "Courier New", Courier, monospace;
16+
border: none;
17+
border-radius: 5px;
18+
}
19+
button {
20+
margin-left: 2vh;
21+
cursor: pointer;
22+
background-color: rgb(224, 124, 2);
23+
border-radius: 5px;
24+
height: 5vh;
25+
width: 10%;
26+
color: white;
27+
outline: none;
28+
border: none;
29+
transition: all 0.5s;
30+
min-width: 100px;
31+
}
32+
33+
button:active {
34+
background: #000;
35+
}
36+
button:hover {
37+
background-color: rgb(216, 155, 79);
938
}
10-
button{
11-
margin-left: 2vh;
12-
background-color: rgb(125, 237, 125);
13-
border-radius: 10px;
14-
height: 5vh;
15-
width: 10%;
16-
color: white;
17-
border: 1px solid white;
18-
}

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<link rel="stylesheet" href="index.css">
6+
<link rel="stylesheet" href="index.css" />
77
<title>Document</title>
88
</head>
99
<body>
10-
<textarea type="text" name="data" id="data_input"></textarea>
10+
<textarea type="text" name="data" id="data_input" markdown></textarea>
1111
<button onclick="getTheInput()">Download</button>
1212
<script src="index.js"></script>
1313
</body>

0 commit comments

Comments
 (0)