-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhafta-2.css
65 lines (57 loc) · 1.1 KB
/
hafta-2.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
62
63
64
65
@import url('https://fonts.googleapis.com/css?family=Inconsolata&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.navbar{
display: flex;
align-items: center;
justify-content: space-around;
width: 100%;
height: 100px;
box-shadow: 0 10px 10px -10px grey;
position: fixed;
z-index: 2;
background-color: white;
}
.logo{
height: 100px;
cursor: pointer;
}
.navbar-items{
display: flex;
align-items: center;
justify-content: center;
font-family: 'Inconsolata', monospace;
font-size: 25px;
cursor: pointer;
width: 100%;
height: 100px;
transition: all .2s linear;
}
.navbar-items:hover{
background-color: #333641;
font-weight: bold;
border-bottom: 5px solid indianred;
color: white;
}
.container{
width: 100%;
display: flex;
flex-wrap: wrap;
padding-top: 100px;
}
.card{
width: 50%;
height: 600px;
background: url(https://picsum.photos/600/600);
background-size: cover;
background-position: center;
transition: all .3s linear;
filter: grayscale(100%) blur(5px);
cursor: pointer;
}
.card:hover{
filter: grayscale(0%) blur(0px);
}