-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (50 loc) · 1.78 KB
/
index.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Text formatter</title>
<link rel= "icon" href="https://image.flaticon.com/icons/png/128/3940/3940014.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
</head>
<style>
body {
max-width: 700px;
margin: auto;
text-align: center;
background: url('https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
background-repeat: no-repeat;
background-size: cover;
}
p {
width: 300px;
background: white;
color: black;
height: 80px;
box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.50);
border: 1px solid #555;
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
margin: auto;
margin-top: 3rem;
}
h2 {
color: black;
}
</style>
<body>
<h2>Type in your words to see them in the Output!</h2>
<input type="text" id= "inputField"/>
<button class="btn uppercase red darken-1" style="text-transform: uppercase">abc</button>
<button class="btn lowercase green darken-1" style="text-transform: lowercase">abc</button>
<button class="btn capitalize purple darken-1" style="text-transform: capitalize">abc</button>
<button class="btn bold grey darken-4" style="text-transform: capitalize">B</button>
<button class="btn italic grey darken-4" style="font-style: italic;">i</button>
<button class="btn underline grey darken-4" style="text-decoration: underline;">abc</button>
<p id= "outputField">Output</p>
<script src="./index.js"></script>
</body>
</html>