css实现探照灯照射时钟文字时间效果
代码语言:html
所属分类:布局界面
代码描述:css实现探照灯照射时钟文字时间效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> * { box-sizing: border-box; } html, body { margin: 0; padding: 0; } body { background: black; color: #666; font-family: sans-serif; font-size: 16px; overscroll-behavior: none; display: flex; flex-direction: column; align-items: center; height: 100vh; } #container { width: 90vw; height: 90vh; } #title { text-align: center; width: 100%; padding: 10px 0 10px 0; } #box { position: relative; width: 100%; height: 100%; background: #666; overflow: hidden; /*cursor: none;*/ border: 1px soli.........完整代码请登录后点击上方下载按钮下载查看
网友评论0