CodeNest Coding Platform

网站 · Landing Page · 免费
CodeNest Coding Platform 预览

在云境TS 中打开并复制 →

内容预览

Create a high-end, dark-themed hero section for a coding education platform called 'CodeNest' using React and Tailwind CSS. The design must be responsive and follow these precise specifications: 1. Background & Layout: Background: Implement a full-screen background video using the HLS stream: https://stream.mux.com/tLkHO1qZoaaQOUeVWo8hEBeGQfySP02EPS02BmnNFyXys.m3u8. Use hls.js and set enableWorker: false to ensure stability in sandboxed environments. Overlays: Set the video to 60% opacity. Add a dark linear gradient from the left (#070b0a to transparent) and a bottom-up gradient for readability. Grid System: Add three thin vertical grid lines (white/10 opacity) at the 25%, 50%, and 75% marks across the screen (visible on desktop). Central Glow: Place a large horizontal SVG ellipse glow in the center-top area with a cyan/dark green hue, using a 25px Gaussian blur filter. 2. The Liquid Glass Card: Component: Create a 200x200px floating card positioned above the main headline, shifted exactly 50px upwards using translate-y-[-50px]. CSS Styling (Liquid Glass): background: rgba(255, 255, 255, 0.01) with background-blend-mode: luminosity. backdrop-filter: blur(4px). box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1). Border Effect: A ::before pseudo-element with inset: 0, padding: 1.4px, and a 180-degree white linear gradient. Use -webkit-mask-composite: xor and mask-composite: exclude to create a sharp, high-end border frame. Content: '[ 2025 ]' tag (14px), 'Taught by Industry P

……(完整源码请在站内查看)