I want some hint in this arena

As Bhaiya asked in the video to convert these things into CSS effects. I want to do this,

  1. first major title
    1.1
    1.2
  2. Second major title
    2.1
    2.2
  3. Third Major Title

If we hover over the title, then we can see the subtitles or list items otherwise they’re hidden. Please check what I’ve tried and suggest an improvment.

It worked for me! .div_container> ol { display: none; } .div_container:hover>ol{ display: block; }