π₯ Make videos programmatically with React
/* Test: basic CSS rules, selectors, pseudo-classes */
.css-loader-test {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
font-family: sans-serif;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
color: white;
padding: 40px;
box-sizing: border-box;
}
.css-loader-test h2 {
font-size: 32px;
margin: 0 0 20px 0;
}
/* Test: multiple selectors */
.card,
.url-card {
background: rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 20px;
margin: 8px;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Test: pseudo-classes and pseudo-elements */
.card::before {
content: 'β ';
color: #4ade80;
}
.card:first-child {
border-left: 3px solid #4ade80;
}
/* Test: @media queries */
@media (min-width: 0px) {
.media-query-test {
color: #4ade80;
font-weight: bold;
}
}
/* Test: CSS custom properties (variables) */
:root {
--test-accent: #e94560;
--test-radius: 8px;
}
.uses-vars {
color: var(--test-accent);
border-radius: var(--test-radius);
}
/* Test: CSS animations */
@keyframes pulse {
0% {
opacity: 0.6;
}
50% {
opacity: 1;
}
100% {
opacity: 0.6;
}
}
.animated {
animation: pulse 2s ease-in-out infinite;
}