-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblogs.css
63 lines (55 loc) Β· 1.05 KB
/
blogs.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
61
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
background-image:url(https://images.pexels.com/photos/1585710/pexels-photo-1585710.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500);
background-color: rgb(15, 62, 85);
font-family: "Poppins", sans-serif;
}
.para{
font-size:35px;
text-align:center;
padding-top:60px;
color:white;
}
a,button {
font-family: "Poppins", sans-serif;
}
.blogs{
position:relative;
text-align:center;
margin: auto;
padding-top:30px;
}
.blogs ul {
margin-top: 10px;
position: relative;
display: flex;
justify-content: space-around;
flex-direction: column;
align-items: center;
width: 300px;
height: 300px;
background: white;
left: 10px;
list-style: none;
border-radius: 5px;
opacity: 0;
float-right:10px;
transform: translateY(-10px);
transition: all 0.4s ease;
}
.blogs li:hover {
background-color: rgb(197, 173, 181);
}
.blogs a {
color: black;
text-decoration: none;
}
.blogs button:focus + ul{
opacity: 1;
pointer-events: all;
transform: translateY(10px);