纯css实现勋章滚动动画效果
代码语言:html
所属分类:动画
代码描述:勋章滚动动画效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> :root { --rojo: #cd0000; --blanco: white; --rojo_oscuro: #be1212; } body { margin: 0; padding: 0; box-sizing: border-box; width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; } .escarapela-container { position: relative; padding: 1rem; display: flex; align-items: center; justify-content: center; } .circulo1, .circulo2, .circulo3 { border-radius: 50%; display: flex; justify-content: center; align-items: center; } .circulo1 { width: 15rem; height: 15rem; background: var(--rojo); z-index: 2; } .circulo2 { width: 10rem; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0