蜡烛燃烧效果
代码语言:html
所属分类:动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>CodePen - CSS Candle Flame Animation</title> <style> @import url('https://fonts.googleapis.com/css?family=Ubuntu:400,400i,700,700i'); *, *:before, *:after { margin: 0; padding: 0; word-break: break-all; box-sizing: border-box; scroll-behavior: smooth; } html { font-size: 10px; } body { font-family: 'Ubuntu', sans-serif; color: #6e6e6e; font-size: 1.6rem; background: black; } header, footer { display: block; } a, a:link, a:visited { text-decoration: none; } img { border: 0; } ul { list-style: none; } .center { width: 1170px; margin: 20px auto 0; } .holder { margin: 12rem auto 0; width: 150px; height: 400px; position: relative; }.........完整代码请登录后点击上方下载按钮下载查看
网友评论0