image-uploader实现多图片上传表单效果代码
代码语言:html
所属分类:上传
代码描述:image-uploader实现多图片上传表单效果代码,可以选择图片并删除,和表单一起上传。
代码标签: image-uploader 多 图片 上传 表单
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="content-language" content="en" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/image-uploader.min.css"> <link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <link href="https://fonts.googleapis.com/css?family=Lato:300,700|Montserrat:300,400,500,600,700|Source+Code+Pro&display=swap" rel="stylesheet"> <style> * { margin: 0; padding: 0; font-weight: normal; } body { font-family: 'Lato', sans-serif; font-size: 16px; font-weight: 300; color: rgba(0, 0, 0, 0.9); line-height: 1.5; } header { background-color: rgba(0, 0, 0, 0.9); color: rgb(255, 255, 255); padding: 1rem; } header p { font-family: 'Montserrat', sans-serif; font-size: 1.2em; font-weight: 200; margin-bottom: 4rem; } main { text-align: justify; position: relative; margin: 4rem 0; } footer { background-color: rgba(0, 0, 0, 0.9); color: rgb(255, 255, 255); padding: 1rem 0; margin-top: 4rem; } footer p { text-align: center; font-family: 'Montserrat', sans-serif; font-size: 1em; font-weight: 200; margin: 0; } a { color: #50ce7d; text-decoration: none; } h1, h4, h6 { font-family: 'Montserrat', sans-serif; font-weight: 600; } h1 { font-size: 3.6em; margin: 4rem 0 1rem 0; } h4 { font-size: 2em; margin: 3rem 0 1rem 0; } h6 { font-size: 1.2em; margin: 1rem 0; } h4 small { font-size: 70%; font-weight: 300; } p { margin: 1rem 0; } nav { position: absolute; margin-left: -12em; } nav ul { margin-left: 0; list-style: none; } nav ul li { padding: .2rem 0; } nav ul li a { font-size: 1.2em; font-weight: 400; font-family: 'Montserrat', sans-serif; color: #2196f3; } pre { font-family: 'Source Code Pro', monospace; margin: 1rem 0; padding: 1rem 1rem; background: #f3f3f3; font-size: .9em; overflow-x: scroll; } table code, p code { font-family: 'Source Code Pro', monospace; background: #f3f3f3; font-size: .9em; padding: .1rem .3rem; } strong { font-weight: 600; } form > button { -webkit-appearance: none; cursor: pointer; font-family: 'Montserrat', sans-serif; font-weight: 600; padding: 1rem 2rem; border: none; background-color: #50ce7d; color: #fff; text-transform: uppercase; display: block; margin: 2rem 0 2rem auto; font-size: 1em; } ul { margin-left: 2rem; } input { background-color: transparent; border: none; border-radius: 0; outline: none; width: 100%; line-height: normal; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0