How to create a toggle without JS?

Hi there!

I am creating a toggle in pure css without jquery or javascript and its look like it hasn’t work yet. The problem is Css div alignment. Its not perfectly aligned.
Here is what I am trying to achieve:https://ibb.co/dsYS0J && https://ibb.co/gcOo7y

HERE IS DEMO: https://jsfiddle.net/navjot789/2fcLvmrj/

and its seems like its not working as I want. If anyone who have a deep knowledge is css helps thats would be a great.
any input is apprecheated.

So you want on focus to toggle it?

1 Like