菜单点击弹出子菜单效果

代码语言:html

所属分类:菜单导航

代码描述:菜单点击弹出子菜单效果

代码标签: 菜单 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">
  

  <link type="text/css" rel="stylesheet" href="http://repo.bfw.wiki/bfwrepo/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@900&display=swap');

body {
  background: #f0a500;
}

.main-btn {
  /*   background: #6985c4; */
  background: #e11d74;
  color: black;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  position: fixed;
  box-sizing: border-box;
  border: 2px solid #440047;
/*   bottom: 10px;
  right: 10px; */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: "Poppins", sans-serif;
  text-align: center;
  z-index: 10;
  transition: 1s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fab, .fa{
  font-size: 30px;
  color: black;
  text-shadow: 0 0 10px white;
}

.sub-btns {
  height: 60px;
  .........完整代码请登录后点击上方下载按钮下载查看

网友评论0