-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
56 lines (54 loc) · 1.07 KB
/
styles.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
body{
margin: 0;
padding: 0;
box-sizing: border-box;
color:#fff;
font-family: monospace,sans-serif;
}
.container{
height: 100vh;
background-image: url(pexels.jpg);
background-position: center;
background-size: cover;
display: flex;
align-items: center;
justify-content:center ;
}
.card{
width:250px;
height:380px;
border: 1px solid;
border-radius: 25px;
overflow: hidden;
padding: 15px;
backdrop-filter:blur(10px);
}
.card::before{
content: "";
width:100%;
height: 100%;
background-color: rgba(193, 193, 255, 0.5);
position: absolute;
left: 0;
top:0;
transform: skew(-30deg) translateX(600%);
transition: .5s;
}
.card:hover::before{
transform: skew(-20deg) translateX(-200%);
}
.content{
text-align: center;
font-family: Verdana;
font-weight: bold;
font-size: 25px;
color: rgb(224, 146, 255);
}
.sub{
text-align: center;
font-family: Verdana,monospace ;
font-weight: bold;
font-size: small;
color: rgb(177, 156, 250);
justify-content: center;
}