css实现手机端移动端外卖点餐菜单联动效果代码
代码语言:html
所属分类:菜单导航
代码描述:css实现手机端移动端外卖点餐菜单联动效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <style> *{ padding: 0; margin: 0; } .header{ width: 100%; height: 150px; background: #555; } .swiper-container-ul{ list-style: none; overflow: hidden; width: 100%; background: #fff; top: 0; } .swiper-container-ul-li{ width: 50%; height: 40px; line-height: 40px; float: left; text-align: center; } .actives{ border-bottom: 1px solid #3190e8; color: #3190e8; } .content{ width: 100%; overflow: hidden; } .left{ top: 41px; float: left; width: 25%; height: 100%; background: #eee; } .left ul{ list-style: none; } .left ul li{ padding: 15px 5px; text-align: center; } .active{ background: #fff; border-left: 2px solid #3190e8; } .right{ float: left; width: 75%; height: 100%; } .right ul{ list-style: none; } .class-title{ padding: 7px 10px; background: #eee; } .item{ overflow: hidden; width: 100%; padding: 10px; background: #fff; border-bottom: 1px solid .........完整代码请登录后点击上方下载按钮下载查看
网友评论0