Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
.root {
position: absolute;
inset: 0;
z-index: 45;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
border-radius: inherit;
background: #0b0b0d;
pointer-events: none;
animation-name: fade-in;
animation-duration: 0.22s;
animation-timing-function: ease-out;
animation-fill-mode: both;
}
.frame {
position: absolute;
inset: -8%;
width: 116%;
height: 116%;
filter: blur(22px) saturate(1.35) brightness(0.7);
transform-origin: center;
animation-name: breathe;
animation-duration: 4.8s;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-direction: alternate;
}
.tint {
position: absolute;
inset: 0;
background:
radial-gradient(ellipse at 50% 42%, rgb(255 255 255 / 0.1), transparent 62%),
linear-gradient(to top, rgb(0 0 0 / 0.45), rgb(0 0 0 / 0.1) 55%);
}
.grain {
position: absolute;
inset: -50%;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
background-size: 160px 160px;
opacity: 0.2;
mix-blend-mode: overlay;
animation-name: grain;
animation-duration: 0.9s;
animation-timing-function: steps(5);
animation-iteration-count: infinite;
}
.sheen {
position: absolute;
inset: 0;
background: linear-gradient(
100deg,
transparent 30%,
rgb(255 255 255 / 0.14) 47%,
rgb(255 255 255 / 0.04) 55%,
transparent 70%
);
transform: translateX(-100%);
animation-name: sweep;
animation-duration: 2.6s;
animation-timing-function: cubic-bezier(0.45, 0.05, 0.25, 1);
animation-iteration-count: infinite;
}
.content {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
padding: 0 24px;
text-align: center;
color: #fff;
}
.title {
margin: 0;
font-size: clamp(14px, 2.2vw, 18px);
font-weight: 500;
letter-spacing: -0.01em;
background: linear-gradient(
90deg,
rgb(255 255 255 / 0.6) 0%,
#fff 50%,
rgb(255 255 255 / 0.6) 100%
);
background-size: 200% 100%;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation-name: text-shimmer;
animation-duration: 2.4s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
.detail {
margin: 0;
font-size: clamp(12px, 1.6vw, 14px);
color: rgb(255 255 255 / 0.72);
font-variant-numeric: tabular-nums;
}
.bar {
width: min(200px, 50vw);
height: 3px;
border-radius: 999px;
background: rgb(255 255 255 / 0.18);
overflow: hidden;
}
.barFill {
width: 100%;
height: 100%;
border-radius: inherit;
background: rgb(255 255 255 / 0.9);
transform-origin: left center;
transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hint {
margin: 2px 0 0;
max-width: 320px;
font-size: 12px;
line-height: 1.45;
color: rgb(255 255 255 / 0.6);
}
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes breathe {
from {
transform: scale(1);
}
to {
transform: scale(1.06);
}
}
@keyframes grain {
0% {
transform: translate(0, 0);
}
20% {
transform: translate(-8%, 6%);
}
40% {
transform: translate(7%, -9%);
}
60% {
transform: translate(-5%, -4%);
}
80% {
transform: translate(9%, 8%);
}
100% {
transform: translate(0, 0);
}
}
@keyframes sweep {
from {
transform: translateX(-100%);
}
to {
transform: translateX(100%);
}
}
@keyframes text-shimmer {
from {
background-position: 100% 0;
}
to {
background-position: -100% 0;
}
}
@media (prefers-reduced-motion: reduce) {
.root,
.frame,
.grain,
.sheen,
.title {
animation: none;
}
.sheen {
display: none;
}
.barFill {
transition: none;
}
}