TreeviewCopyright © aleen42 all right reserved, powered by aleen42

How to write menu button with CSS Back

<div class="menu-btn">
    <div class="inline"></div>
</div>
.menu-btn {
    width: 25px;
    height: 3px;
    padding: 3px 0;
    border-top: solid 3px #000;
    border-bottom: solid 3px #000;
    cursor: pointer;
}

.menu-btn .inline {
    width: 100%;
    height: 100%;
    background-color: #000;
}

Demo

See the Pen dMNjqb by aleen42 (@aleen42) on CodePen.

Empty Comments
Sign in GitHub

As the plugin is integrated with a code management system like GitLab or GitHub, you may have to auth with your account before leaving comments around this article.

Notice: This plugin has used Cookie to store your token with an expiration.