style: Added profile picture animation
This commit is contained in:
24
assets/css/profile.css
Normal file
24
assets/css/profile.css
Normal file
@@ -0,0 +1,24 @@
|
||||
.profile-container {
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
img.profile {
|
||||
width: 300px;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
margin-left: -150px;
|
||||
aspect-ratio: 1;
|
||||
padding-top: calc(var(--s)/5);
|
||||
transform: scale(1);
|
||||
transition: .5s;
|
||||
}
|
||||
|
||||
img.foreground {
|
||||
border-radius: 50%;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
img.background:hover {
|
||||
filter: blur(5px);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user