-
Notifications
You must be signed in to change notification settings - Fork 2
/
notice_hover.css
60 lines (59 loc) · 1.12 KB
/
notice_hover.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
.notice_hover h4 {
font-size: 14px;
color: #ffd13f;
padding-bottom: 3px;
font-weight: bold;
}
.notice_hover ul {
overflow: hidden;
}
.notice_hover li {
float: left;
width: 250px;
margin-right: 50px;
text-align: center;
}
.notice_hover li a span {
position: relative;
display: block;
width: 250px;
height: 250px;
line-height: 250px;
}
.notice_hover li a span img {
width: 100%;
}
.notice_hover li a span em {
visibility: hidden;
position: absolute;
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.7);
color: #fff;
width: 100%;
height: 100%;
margin-top: 28px;
border-radius: 200px;
}
.notice_hover li a span:hover em {
visibility: visible;
}
.notice_hover li a strong {
padding-top: 10px;
display: inline-block;
font-size: 20px;
font-family: "NanumSquare", sans-serif;
font-weight: 1000;
color: black;
background-color: #ff9933;
border-radius: 10px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 10px;
width: 100px;
}
.notice_hover {
display: flex;
align-content: center;
justify-content: center;
}