Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Pure CSS Tree View With Custom Tree Icons

FollowAndrew via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This tutorial builds an expandable tree view using HTML and pure CSS instead of JavaScript. It covers nested lists, details and summary elements, pseudo-elements, positioning, and custom open and closed-state icons.

Syllabus

Intro
Setting up the HTML
The magic of details & summary
Adding the styles for the arms and legs with pseudo elements
Setting up custom icons for the collapsed and open states
Reminding you to SUBSCRIBE ALREADY

Taught by

FollowAndrew

Reviews

Start your review of Pure CSS Tree View With Custom Tree Icons

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.