Loading

CSS-Only Responsive Toggle List with Counter

A list of items, with a button to show/hide more containing a count of the number of extra items in the list. A different number of initial items is shown dependent on device width. Uses a checkbox to store toggle state, avoiding the need for JS.

See the Pen Scroll to Transparency by Ben Hodgson (@bh) on CodePen.

This awesome code is written by Ben Hodgson, you can see more from this user in the personal repository

bh
Ben Hodgson
bh
Rating 3.00 average based on 0 ratings.
0 Downloads
104 Views
3.00 Rating
Open Original Open on codepen.io