欢迎来到DIVCSS5查找CSS资料与学习DIV CSS布局技术!

收货所在填写决意特效,采纳div css jq地址所在地位下拉殊效,省、市、区县三级联动抉择所在地戋戋域网页殊效,决意省被动跳转抉择对应市,选中市主动跳转抉择区县的所在周边殊效。

一个输入框下就可决议弹出联动所在区域决意的特效,相斥京东、淘宝收货地点填写特效。

所在地区地址选择特效
所在地区地址选择 jq特效

批改城市称谓所在:只需求修改js/cityJson.js

input表单输出框,经由过程ID(id="city")调用周边决议弹窗。

css和殊效JS羁縻,也许修正css抵达区域决议排版成效。

主要html代码:

<input type="text" id="city" />

通过input设置装备摆设id=city挪用显露周边决定

首要CSS代码:

._citys { width: 450px; display: inline-block; border: 2px solid #eee;
padding: 5px; position: relative; }
._citys span { color: #56b4f8; height: 15px; width: 15px; line-height: 15px; text-align: center;
border-radius: 3px; position: absolute; right: 10px; top: 10px;
border: 1px solid #56b4f8; cursor: pointer; }
._citys0 { width: 100%; height: 34px; display: inline-block;
border-bottom: 2px solid #56b4f8; padding: 0; margin: 0; }
._citys0 li { display: inline-block; line-height: 34px; font-size: 15px; color: #888;
width: 80px; text-align: center; cursor: pointer; }
.citySel { background-color: #56b4f8; color: #fff !important; }
._citys1 { width: 100%; display: inline-block; padding: 10px 0; }
._citys1 a { width: 83px; height: 35px; display: inline-block; bac公斤round-color: #f5f5f5; color: #666;
margin-left: 6px; margin-top: 3px; line-height: 35px; text-align: center; cursor:
pointer; font-size: 13px; overflow: hidden; }
._citys1 a:hover { color: #fff; bac千克round-color: #56b4f8; }
.AreaS { background-color: #56b4f8 !important; color: #fff !important; }

下拉地域决议DIV CSS排版对应CSS,可轻松自立批改后援、宽度、色采等格式

如需转载,请注明文章出处和来源网址:http://www.divcss5.com/css-texiao/texiao51864.shtml