Forums

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

Home Forums CSS How can I achieve this "pop out" effect? Reply To: How can I achieve this "pop out" effect?

#240761
Shikkediel
Participant

You might be able to do it with CSS but it’ll be a lot easier to control with JS. If you ask me, just add or remove a class when the item is clicked and do a transform: scale. But the exact style to be added depends a lot on how you want the enlarged item to look exactly of course.

Edit – and you’ll have to show some content that’s initially hidden…