jquery弹出折叠菜单效果代码
代码语言:html
所属分类:菜单导航
代码描述:jquery弹出折叠菜单效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.4.3.1.min.css"> <style> .list-group li { position: absolute; left: 0px; right: 0px; zoom: 1; transform-origin: 50% 100%; transform: perspective(1000px) rotate3d(1, 0, 0, 90deg); } .list-group li:nth-child(even) { transform-origin: 50% 0%; background: #eee; } .list-group li:last-child { transform: none; cursor: pointer; } </style> </head> <body > <div class="container"> <ul class="list-group position-relative" id="foldingMenu"> <li class="list-group-item d-flex align-items-center"><img class="mr-4" src="//repo.bfw.wiki/bfwrepo/image/5d65ea7d8bc8b.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_100,h_100,/quality,q_90"/> <div> <h2>Lorem Ipsum 1</h2> <p>Dolor sit amet</p> </div> </li> <li class="list-group-item d-flex align-items-center"><img class="mr-4" src="//repo.bfw.wiki/bfwrepo/image/5d65ea7d8bc8b.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_100,h_100,/quality,q_90"/> <div> <h2>Lorem Ipsum 2</h2> <p>Dolor sit amet</p> </div> </li> <li class="list-group-item d-flex align-items-center"><img class="mr-4" src="//repo.bfw.wiki/bfwrepo/image/5d65ea7d8bc8b.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_100,h_100,/quality,q_90"/> <div> <h2>Lorem Ipsum 3</h2> <p>Dolor sit amet</p> </div> </li> <li class="list-group-item d-flex align-items-center"><img class="mr-4" src="//repo.bfw.wiki/bfwrepo/image/5d65ea7d8bc8b.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_100,h_100,/quality,q_90"/> <div> <h2>Lorem Ipsum 4</h2> <p>Dolor sit amet</p> </div> </li> <li class="list-group-item d-flex align-items-center"><img class="mr-4" src="//repo.bfw.wiki/bfwrepo/image/5d65ea7d8bc8b.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_100,h_100,/quality,q_90"/> <div> <h2>Lorem Ipsum 5</h2> <p>Dolor sit amet</p> </div> </li> <li class="list-group-item d-flex align-items-center"><img class="mr-4" src="//repo.bfw.wiki/bfwrepo/image/5d65ea7d8bc8b.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_100.........完整代码请登录后点击上方下载按钮下载查看
网友评论0