svg可改变背景色与沙发换色效果代码
代码语言:html
所属分类:布局界面
代码描述:svg可改变背景色与沙发换色效果代码,点击下面颜色按钮更换底色和沙发色
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/normalize.5.0.css"> <style> body, html { height: 100%; display: flex; margin: 0; padding: 0; box-sizing: border-box; justify-content: center; align-items: center; font-family: arial; font-size: 12px; } body { background: linear-gradient(to right, #24243e, #302b63, #24243e); } body.fade { transition: 0.6s ease-in-out; } .colours { position: absolute; bottom: 1em; display: flex; flex-direction: column; } .colours__labels { display: flex; margin-bottom: 0.5em; } .colours__labels span { display: block; flex: 2; text-align: center; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9em; color: white; text-shadow: 0px 0px 4px black; } .colours__labels span:first-child { flex: 1; } .colours__inputs { display: flex; } .colours .jscolor { display: block; border: 0; height: 40px; width: 60px; margin: 0; text-align: center; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3); cu.........完整代码请登录后点击上方下载按钮下载查看
网友评论0