原生js实现拖拽排序可添加列表效果代码
代码语言:html
所属分类:拖放
代码描述:原生js实现拖拽排序可添加列表效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'> <style> @import url("https://fonts.googleapis.com/css?family=Raleway:300,800"); body { background-color: #0072ff; } body h1 { text-align: center; font-family: "Raleway", sans-serif; color: white; font-size: 50px; font-weight: normal; } body .adder { position: relative; width: 250px; margin: 0px auto; display: block; } body .adder ::-webkit-input-placeholder { color: #cecece; } body .adder .input { outline: none; border: 1px solid white; background-color: #0072ff; color: white; height: 50px; width: 250px; padding-left: 10.........完整代码请登录后点击上方下载按钮下载查看
网友评论0