tailwind布局实现星球光晕效果代码
代码语言:html
所属分类:布局界面
代码描述:tailwind布局实现星球光晕效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" class="bg-black grid place-items-center min-h-screen"> <head> <meta charset="UTF-8"> <style> .planet:before { content: ""; display: block; position: fixed; width: 1500px; aspect-ratio: 1; left: 100%; top: 50%; z-index: -1; transform: translateX(-50%) translateY(-50%); background-image: radial-gradient(at 50% 50% in oklch, color-mix(in oklch, skyblue, blue 80%), color-mi.........完整代码请登录后点击上方下载按钮下载查看
网友评论0