mdui实现浮动菜单操作按钮效果代码

代码语言:html

所属分类:菜单导航

代码描述:mdui实现浮动菜单操作按钮效果代码

代码标签: 菜单 操作 按钮 效果

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

<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>浮动操作按钮 - 通过自定义属性调用</title>
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/mdui.min.css">
</head>

<body style="margin-top: 20px;" class="mdui-loaded">

    <div class="mdui-container">

        <button id="open" class="mdui-btn mdui-color-pink-accent mdui-m-a-1">open</button>
        <button id="close" class="mdui-btn mdui-color-pink-accent mdui-m-a-1">close</button>
        <button id="hide" class="mdui-btn mdui-color-pink-accent mdui-m-a-1">hide</button>
        <button id="show" class="mdui-btn mdui-color-pink-accent mdui-m-a-1">show</button>
        <button id="getState" class="mdui-btn mdui-color-pink-accent mdui-m-a-1">getState</button>

        <div class="mdui-fab-wrapper" id="fab">
            <button class="mdui-fab mdui-ripple mdui-color-pink-accent">
      <i class="mdui-icon material-icons">add</i>
      <i class="mdui-icon mdui-fab-opened material-icons">mode_edit</i>
    </button>
            <div class="mdui-fab-dial">
                <button class="mdui-fab mdui-fab-mini mdui-ripple mdui-color-pink"><i class="mdui-icon material-icons">backup</i>
      </button>
                <button class="mdui-fab mdui-fab-mini mdui-ripple mdui-color-red"><i class="mdui-icon material-icons">bookmark</i>
      </button>
                <button class="mdui-fab mdui-fab-mini mdui-ripple mdui-color-orange"><i class="mdui-icon mater.........完整代码请登录后点击上方下载按钮下载查看

网友评论0