Pure CSS tree view with custom tree icons

Поділитися
Вставка
  • Опубліковано 23 гру 2024

КОМЕНТАРІ • 45

  • @nhatle2601
    @nhatle2601 Місяць тому

    Thank you very very much, I get stuck in dealing with this task until I watch your guide.
    Really appreciated. Thank you again

  • @abbastough9474
    @abbastough9474 Місяць тому

    Wow! Thanks for the priceless tutorial.
    I thought I would be getting it done with JS until I watched your video.

  • @tri5431
    @tri5431 2 роки тому +3

    Thanks so much ! I needed an additional line in the css, summary {list-style: none;}, to make the disclosure triangle go away, but otherwise, worked like a charm. Very much appreciated.

  • @ayushkushwaha171
    @ayushkushwaha171 Рік тому +1

    I had this same scenario come into my work today, your tutorial really helped, thanks Andrew!

  • @enkiimuto1041
    @enkiimuto1041 6 місяців тому

    You're such a good teacher that I don't even need to do this on css but i watched it anyway.
    PS: good music on the intro

  • @hulooloo
    @hulooloo Рік тому

    The perfet tutorial I'v search for tree UI! Thanks Andrew.

  • @Levendo
    @Levendo 9 місяців тому

    This video helped me a great deal. Thanks a lot, good sir.

  • @IAmOxidised7525
    @IAmOxidised7525 9 місяців тому

    Man you are a life saver

  • @BrockWhitaker-c4w
    @BrockWhitaker-c4w 11 місяців тому

    How well does this approach support screen-readers and accessibility?

  • @NedumEze
    @NedumEze 2 роки тому +5

    Sorry Andy, did you forget to make the code available for download? I'll be helpful if you do

  • @JustMe-zu2ml
    @JustMe-zu2ml Рік тому

    Very cool. Thanks Andrew!

  • @NedumEze
    @NedumEze 2 роки тому

    Amazing creativity. Thanks Andy

  • @shubhamambhore7207
    @shubhamambhore7207 Рік тому

    Thanks for all the helpful information 😍

  • @LuisAlfredoGuzmanMoreno
    @LuisAlfredoGuzmanMoreno Рік тому

    Great video and explanation. Thanks

  • @GerritforBazeja
    @GerritforBazeja 2 роки тому

    Thank you for the nice video, again and your calm way of explaining. Can you make it also suitable for mobile.

  • @abidrahim7607
    @abidrahim7607 2 роки тому

    This. is. amazing. I would have gone the hard way with JavaScript, but this is so so much better. Thank you sir!

  • @blackguy-ij7ij
    @blackguy-ij7ij Рік тому

    Is this ada friendly?

  • @DeepakNegiSunny
    @DeepakNegiSunny Рік тому

    Hello sir, is there any way we can make that recursive by note repeating the template (li), which repeats itself until last child 😊

  • @tanaysurya
    @tanaysurya 2 роки тому

    This was helpful!

  • @vishaljaiswal5346
    @vishaljaiswal5346 11 місяців тому

    Really helpful

  • @edsonperycles5581
    @edsonperycles5581 Рік тому

    How would we do this in React ?

  • @wtdosama
    @wtdosama 2 роки тому

    You are the best for me thanks

  • @anonimus11236
    @anonimus11236 Рік тому

    Source code? I cant get rid of the summery::marker

  • @balex259
    @balex259 2 роки тому

    Can you share the code from intro?

  • @aerkain
    @aerkain Рік тому

    good work

  • @pazir_r
    @pazir_r 11 місяців тому

    thank you

  • @kajalmondal9745
    @kajalmondal9745 2 роки тому

    Please upload regularly sir. Miss your videos

    • @FollowAndrew
      @FollowAndrew  2 роки тому +1

      I do plan on more regular uploads!

  • @antonbrianfejervilchez3507
    @antonbrianfejervilchez3507 2 роки тому

    great video!

  • @wikituby
    @wikituby Рік тому +1

    source code please

  • @wtdosama
    @wtdosama 2 роки тому

    We need more full website with css grid (grid-template-areas)

  • @jeweltalukder3296
    @jeweltalukder3296 Рік тому +1

    source code?

  • @MateStier-hd4nv
    @MateStier-hd4nv Рік тому

    Can i get the code?:)

  • @brotinbiswas8348
    @brotinbiswas8348 Рік тому +2

    This is amazing and so simple. I like it....👍👍👍👍
    But one thing :- Turn off the default triangle " details summary::-webkit-details-marker { display:none; }" didn't work for me.
    I believe the following approaches will work.
    ul summary::marker {
    content: none;
    }

    • @josevelez6865
      @josevelez6865 Рік тому +2

      I found this also worked:
      .tree summary{
      list-style: none;
      }

    • @Gyannea
      @Gyannea Рік тому

      I had the same issue. But the content:none; worked. Disturbing for standardization. I am using the latest Chrome browser, too.

    • @Kennerdoll
      @Kennerdoll 10 місяців тому

      same here

    • @ai_serf
      @ai_serf 8 місяців тому

      MDN is pretty bad too. the documentation on summary doesn't cover this....

  • @rayyanabdulwajid7681
    @rayyanabdulwajid7681 9 місяців тому

    I have done this without css checkbox or javascript using only html details and summary

  • @alexander499zero
    @alexander499zero 5 місяців тому

    source code????