美文网首页
ul仿写下拉框

ul仿写下拉框

作者: web小哥MrYang | 来源:发表于2019-10-21 11:50 被阅读0次

                    <div>

                        <ul>

                            <li>企业类型<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型1<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型2<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型3<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型4<img src="operation_box_right_top_img.png" alt=""></li>

                        </ul>

                        <ul>

                            <li>融资阶段<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型10<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型20<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型30<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型40<img src="operation_box_right_top_img.png" alt=""></li>

                        </ul>

                        <ul>

                            <li>公司规模<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型11<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型21<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型31<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型41<img src="operation_box_right_top_img.png" alt=""></li>

                        </ul>

                        <ul>

                            <li>市场份额<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型11<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型21<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型31<img src="operation_box_right_top_img.png" alt=""></li>

                            <li>企业类型41<img src="operation_box_right_top_img.png" alt=""></li>

                        </ul>

                    </div>

                    <div>筛选</div>

                </div>

css:

.operation_box_right_bottom{background: #ffffff;width: 100%;margin-top: 1.09375vw;min-height: 90%;padding: 1.041vw 1.5625vw;box-shadow: 0 0 10px #E7E7E7;border-radius: 5px;}

.operation_box_right_bottom_top{display: flex;justify-content: space-between;align-items: center;}

.operation_box_right_bottom_top li{z-index: 99;position: relative;background: #fff;}

.operation_box_right_bottom_top>div:nth-child(1){display: flex;}

.operation_box_right_bottom_top>div:nth-child(1) ul{margin-right: 18px; width: 150px;height: 28px;border: 1px solid #DDDDDD;cursor: pointer;}

.operation_box_right_bottom_top>div:nth-child(1) ul li{display: none;margin-left: -1px; width: 150px;height: 28px;line-height: 28px;border-left: 1px solid #DDDDDD;border-right: 1px solid #DDDDDD;font-size: 14px;color: #999999;justify-content: space-around;align-items: center;}

.operation_box_right_bottom_top>div:nth-child(1) ul li img{width: 15px;height: 15px;opacity: 0;}

.operation_box_right_bottom_top>div:nth-child(1) ul li:nth-child(1){border: none;display: flex;background: rgba(0, 0, 0, 0);}

.operation_box_right_bottom_top>div:nth-child(1) ul li:nth-child(1) img{opacity: 1;}

.operation_box_right_bottom_top>div:nth-child(1) ul li:last-child{border-bottom: 1px solid #DDDDDD;}

.operation_box_right_bottom_top>div:nth-child(2){width: 70px;height: 27px;line-height: 27px;background: #00B7EE;color: #fff;font-size: 14px;text-align: center;border-radius: 27px;}

js

相关文章

  • ul仿写下拉框

    企业类型 ...

  • input+ul模拟下拉框选择(可自己添加搜索功能)

    input+ul模拟下拉框选择事件,可动态定制下拉列表显示内容(我暂时写死的),选择可随键盘上下键移动,回车或点击...

  • 图书借阅系统2

    2.5 图书信息组合查询 Ul层FrmBookManager.cs初始化图书分类和出版社的下拉框 DAL层 Boo...

  • 仿写JQ方法

    原生js仿写jq 仿写jq的click方法 仿写jq的on事件 仿写jq的eq方法 仿写jq的 css方法 仿写j...

  • day07

    A今日所学 一、下拉菜单的实现一个下拉框即其下拉内容对应一个ul,li标签li下加入div作为下拉内容的区域,通过...

  • robot framwork--ride之选择下拉框中的值

    最近写公司web的自动化, 遇到了下拉框,是那种有select关键字我下拉框 下面是我们公司下拉框的显示以及源码:...

  • 仿写练笔 仿写!!!

    先生独自一个,带了些钱,步出门,在茶馆吃了几碗茶,到湖沿上开着窗户的座位跟前坐下。见那一船一船男女老少来烧香的,有...

  • 古诗词创作技巧目录

    一 初学仿写 1.1引言 1.2初学仿写之咏鹅 1.3初学仿写之静夜思 1.4初学仿写之出塞 1.5 初学仿写之天...

  • 古诗词创作技巧总目录

    第一章 初级仿写 1.1引言 1.2初学仿写之咏鹅 1.3初学仿写之静夜思 1.4初学仿写之出塞 1.5 初学仿写...

  • 用ul li 写网站的footer

    从最简单的开始写,今天使用UL LI标签写footer页面,主要的思想是用ul li写三个列表,浮动,然后在每个l...

网友评论

      本文标题:ul仿写下拉框

      本文链接:https://www.haomeiwen.com/subject/qceisctx.html