纯css边编写一个进度条
代码语言:html
所属分类:布局界面
代码描述:纯css边编写一个进度条
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> * { box-sizing: border-box; } body { min-height: 100vh; display: -webkit-box; display: flex; -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; background: white; } .progress { width: 100%; max-width: 260px; height: 6px; background: #e1e4e8; border-radius: 3px; overflow: hidden; } .progress .progress-bar { display: block; height: 100%; background: -webkit-gradient(linear, left top, right top, from(#ffd33d), color-stop(17%, #ea4aaa), color-stop(34%, #b34bff), color-stop(51%, #01feff), color-stop(68%, #ffd33d), color-stop(85%, #ea4aaa), t.........完整代码请登录后点击上方下载按钮下载查看
网友评论0