TreeviewCopyright © aleen42 all right reserved, powered by aleen42

How to write triangles with CSS Back

/** top to bottom 6x6 */
.triangle {
    border: 3px solid transparent;
    border-top: 6px solid #000;
    height: 0;
    width: 0;
}

Demo

See the Pen PNbgXd 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.