-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
60 lines (58 loc) · 1.31 KB
/
style.css
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
@charset "UTF-8";
body {
text-align: center;
text-transform: uppercase;
background-color: antiquewhite;
}
ul#minhas-imagens {
width: 700px;
margin: 0 auto;
padding: 50px;
overflow: hidden;
list-style: none;
}
ul#minhas-imagens li span {
opacity: 0;
color: #ffffff;
text-shadow: 1px 1px 1px #000000;
background-color: rgba(0, 0, 0, .3);
font-size: 15px;
line-height: 370px;
padding: 5px;
}
ul#minhas-imagens li:hover {
transform: scale(1.5);
}
ul#minhas-imagens li:hover span {
opacity: 1;
}
ul#minhas-imagens li {
float: left;
width: 200px;
height: 200px;
margin: 10px;
border: 5px solid black;
background-color: white;
box-shadow: 1px 1px 3px rgba(0, 0, 0, .4);
transition: all .4s ease-in;
}
ul#minhas-imagens li#bbq {
background: url("bbq-m.png");
background-position: 50% 50%;
background-size: 650px 488px;
background-color: #ffffff;
}
ul#minhas-imagens li#beer {
background: url("beer-m.png");
background-position: 50% 50%;
background-size: 650px 641px;
background-color: #ffffff;
}
ul#minhas-imagens li#bbq:hover {
background-position: 0px 0px;
background-size: 200px 200px;
}
ul#minhas-imagens li#beer:hover {
background-position: 0px 0px;
background-size: 200px 200px;
}