-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
56 lines (49 loc) · 1.5 KB
/
test.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
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TESTING TESTING</title>
<style>
* {
box-sizing: border-box;
}
body {
margin: 0;
background: teal;
}
.rect-to-triangle {
width: 0;
height: 0;
border-left: 500px solid transparent;
border-bottom: 250px solid white;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
</head>
<body>
<!-- <div class="container">
<div class="rect-to-triangle"></div>
</div> -->
<!-- give me a rectangle that has white background, 500px width, 1000px height, centered vertically and horizontally -->
<div class="rect-to-triangle"></div>
<!-- transform a rectangle div to an acute triangle -->
<center>
<div>
<label for="nane">name</label>  
<input type="text">
</div>
<div>
<label for="nane">will you recommend</label>  
<span>
<label for=""> <input type="radio" name="recommend">Definitely</label><br>
<label for=""> <input type="radio" name="recommend">maybe</label><br>
<label for=""> <input type="radio" name="recommend">not sure</label>
</span>
</div>
</center>
</body>
</html>