UNPKG

reactbits-mcp-server

Version:

MCP Server for React Bits - Access 99+ React components with animations, backgrounds, and UI elements

65 lines (59 loc) 1.09 kB
.star-border-container { display: inline-block; position: relative; border-radius: 20px; overflow: hidden; } .border-gradient-bottom { position: absolute; width: 300%; height: 50%; opacity: 0.7; bottom: -12px; right: -250%; border-radius: 50%; animation: star-movement-bottom linear infinite alternate; z-index: 0; } .border-gradient-top { position: absolute; opacity: 0.7; width: 300%; height: 50%; top: -12px; left: -250%; border-radius: 50%; animation: star-movement-top linear infinite alternate; z-index: 0; } .inner-content { position: relative; border: 1px solid #222; background: #000; color: white; font-size: 16px; text-align: center; padding: 16px 26px; border-radius: 20px; z-index: 1; } @keyframes star-movement-bottom { 0% { transform: translate(0%, 0%); opacity: 1; } 100% { transform: translate(-100%, 0%); opacity: 0; } } @keyframes star-movement-top { 0% { transform: translate(0%, 0%); opacity: 1; } 100% { transform: translate(100%, 0%); opacity: 0; } }