Nathanwoodburn.github.io/assets/css/profile.css

25 lines
339 B
CSS
Raw Normal View History

2023-02-20 12:15:06 +11:00
.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);
}