css布局实现服务器购买选择配置付款页面代码
代码语言:html
所属分类:布局界面
代码描述:css布局实现服务器购买选择配置付款页面代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>BFW NEW PAGE</title> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/jquery.range.css"> <style> .text-center {text-align: center;} .auto { margin: 0 auto; min-width: 1000px; max-width: 1200px } .line-introduction a:hover { color: #009FD9; } span.ip-unit { margin-left: 10px; } .btn-ctrl-layout .up, .btn-ctrl-layout .down { display: block; width: 28px; height: 14px; } .btn-ctrl-layout .up { } .btn-ctrl-layout .down { margin-top: 2px; } .btn-ctrl-layout .up:hover, .btn-ctrl-layout .down:hover { background-position-y: bottom; } .original-price { font-size: 16px; color: #555; } body { background-color: #fafafa; } a { text-decoration: none; } input { outline: none; font-family: "microsoft yahei"; } /* * 原åç±» */ .p-relative { position: relative; z-index: 10; } .margin-left-10 { margin-left: 10px; } /* * é‡ç½®ç»„件类(去除buy.cssåŽè¡¥å……çš„æ ·å¼ï¼‰ */ .ui-slider { position: relative; z-index: 10; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; } .ui-slider-horizontal { height: 26px; background-color: #ececec; } .ui-slider-range { position: absolute; height: 100%; border: 1px solid #009ed8; border-right: none; border-radius: 2px 0 0 2px; background: #00c0ef; } .ui-slider-handle { position: absolute; top: -4px; z-index: 10; width: 12px; height: 32px; cursor: pointer; } .input-reset { width: 280px; height: 30px; border: 1px solid #e0e0e0; padding-left: 10px; line-height: 30px; color: #4c4c4c; } .ny-number-input { padding-left: 10px; } .button-group { max-width: 614px; float: left; border: 0px; } .button-group a { float: left; position: relative; z-index: 10; width: 100px; height: 30px; margin-left: -1px; margin-bottom: 5px; border: 1px solid #dddddd; background-color: #fff; line-height: 30px; text-align: center; font-size: 12px; color: #4c4c4c; text-decoration: none } .button-ipa a { width: 70px; } .button-group a:first-child { border-radius: 2px 0 0 2px; } .button-group a:last-child { border-radius: 0 2px 2px 0; } .button-group a.single-btn { border-radius: 2px; } .button-group a.slt { z-index: 20; border-color: #009ed8; background-color: #00c0ef; color: #fff; } .button-group a.disable { background-color: #f2f2f2; border: 1px solid #dddddd; color: #4c4c4c; } .button-group a.disable:after { content: ""; position: absolute; top: 0; right: 0; width: 20px; height: 16px; } .button-group.months-button-12 a { width: 47px; } .button-group.months-button-7 a { width: 70px; } .slider-length-middle { width: 460px; } .slider-length-long { width: 540px; } .slider-higher { height: 30px; } .slider-higher .ui-slider-handle { top: -5px; height: 40px; } /*线路特价*/ .button-group .area { float: left; position: relative; width: 100px; } .button-group .area i{ overflow: hidden; height: 21px; width: 22px; right: 5px; top: -16px; line-height: 20px; padding-bottom: 4px; display: block; text-align: center; position: absolute; font-style: normal; color: #fff; z-index: 100; -webkit-background-size: 100% 100%; background-size: 100% 100%; } /* * 去除common_f.cssåŽè¡¥å……çš„æ ·å¼ */ .main-content { /* 若直接使用`padding: 30px 0`则会导致`.auto`类在1200px以下的padding-left丢失 */ padding-top: 30px; padding-bottom: 30px; font-size: 12px; color: #777; } .goods-title { height: 40px; line-height: 40px; font-size: 22px; font-weight: normal; color: #555; } .goods-description { line-height: 26px; font-size: 14px; color: #999; } .config-panel { float: none; margin-right: 300px; } .shopping-area { margin-top: 15px; padding: 25px 15px 35px; border: 1px solid #eee; border-top: 3px solid #ff8400; } .config-row { margin-top: 20px; line-height: 30px; } .config-tier-panel .config-row:first-child { margin-top: 0; } .config-row-title { float: left; width: 90px; text-align: right; font-size: 12px; font-weight: normal; color: #999; } .config-row-title-shorter { line-height: 30px; } .config-row-content { float: left; margin-left: 15px; } .line-introduction { float: left; margin-left: 25px; padding-left: 20px; color: #009FD9; } .line-introduction a { color: #009fd9; } .line-slogan { position: absolute; left: 0; top: -25px; z-index: 10; margin-left: 160px; padding-bottom: 5px; } .line-slogan-content { height: 18px; padding: 0 10px; background: #ff8800; line-height: 18px; font-family: "Simsun"; font-size: 12px; color: white; } .config-input-container { margin-left: 10px; float:left; } .config-slider-input { float: left; width: 40px; height: 30px; border: 1px solid #ddd; border-radius: 2px 0 0 2px; line-height: 30px; text-align: center; color: #4c4c4c; } .config-input-unit { float: left; width: 30px; height: 30px; border: 1px solid #ddd; border-radius: 0 2px 2px 0; margin-left: -1px; background-color: #f5f5f5; line-height: 30px; text-align: center; } .config-slider-ruler { width: 460px; } .config-slider-ruler i { position: relative; float: left; width: 25%; height: 30px; line-height: 40px; font-style: normal; text-align: center; } .config-slider-ruler i:before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 6px; background: #ddd; } i.config-last-scale { width: 12.4%; text-align: right; } i.config-last-scale:before { left: inherit; right: 0; } .config-slider-ruler i:first-child { text-align: left; width: 12.5%; } .config-slider-ruler i:first-child:before { left: 0; } .config-view-outer { position: absolute; top: 30px; right: 0; z-index: 10; } .config-view-outer, .config-view-inner { width: 280px; } .config-view-title { height: 38px; padding-left: 20px; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0