-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path10.background_code.html
More file actions
80 lines (73 loc) · 1.35 KB
/
10.background_code.html
File metadata and controls
80 lines (73 loc) · 1.35 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html>
<head>
<meta charset ="utf-8">
<title>
Background
</title>
<style>
.bluebox{
background-image: url(images/picture.jpg);
background-size: 100% 100%;
background-repeat: no-repeat;
background-origin: content-box;
color: white;
height: 100px;
width:auto;
padding: 16px;
border: 10px #e8c14e ridge;
outline-style: solid;
outline-color: #bc8df5;
outline-width: thick;
margin: 20px;
}
.yellowbox{
background-image: url(images/picture.jpg);
background-size: 50px 50px;
background-repeat: no-repeat;
background-origin: border-box;
/* background-position: left;
*/
height: 100px;
width: auto;
padding: 10px 5px 7px 3em;
border-width: 10px 15px 5px 10px;
border-color: black green orange yellow;
border-style: ridge;
margin: 60px 10px 22px 20px;
}
.greenbox{
background-color: #31af37;
height: 100px;
width: 100px;
padding: 10px;
border-width: 10px;
border-style: groove;
border-color: #28ccb6;
border-radius:80px;
margin: 60px 10px;
}
p{
margin: 0;
background-color: #8bbbbf;
}
</style>
</head>
<body>
<div class="bluebox">
<p>
Facebook.
</p>
</div>
<div class="yellowbox">
<p>
Apple.
</p>
</div>
<div class="greenbox">
<p>
Microsoft.
</p>
</div>
</body>
</html>