The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Checkbox Issue

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #202312

    Creating a site creator demo and ran into a problem I would like it so when either checkbox is clicked only one of them is moving. I know this is just a simple selector issue with the .checkbox-toggle input:checked ~ label:first-of-type but I cannot figure it out. Think the issue is its pure css and it needs to target all labels to hide them first.

    See the Pen demo by Scott Marshall ( @ScottMarshall) on CodePen.

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.