Forum Academy Marketplace Showcase Pricing Features

Tinder-esque loading

Hi, I want to add the tinder esque loading, below is the HTML and CSS of it but I’d like if you can tell me how to do it in Bubble, thanks:

HTML:

Beautiful Face

CSS:
$primary-color: #d61f26;

.content {
width: 100vw;
height: 100vh;
}

.pulse {
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);

width: 100px;
height: 100px;

background: transparent;
border: 2px solid $primary-color;
border-radius: 50%;

animation: pulse 1s ease-out 2s infinite;
}

.pulse-center {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
background: orange;

width: 100px;
height: 100px;

background: #2F3233;
border-radius: 50%;

& img {
width: 100px;
height: 100px;
border-radius: 50%;
}
}

@keyframes pulse {
0% {
width: 100px;
height: 100px;
background: $primary-color;
border: 2px solid $primary-color;
}
80% {
width: 180px;
height: 180px;
background: lighten($primary-color, 40%);
border: 2px solid $primary-color;
}
100% {
width: 200px;
height: 200px;
background: transparent;
border: 2px solid transparent;
}
}

This topic was automatically closed after 70 days. New replies are no longer allowed.