How can I achieve this effect?

I’m trying to recreate this Footer. Just click in the middle tab “Más información” and footer info change. If this posible with only HTML and CSS?
This is the footer (desktop version)
This is the link to the source

Thanks in advance!

No estoy seguro, creo que se podría de varias formas, podrías utilizar la pseudo-clase ::after supongo o también utilizando otro elemento con la propiedad display para que aparezca y desaparezca. También necesitarás jugar con la propiedad height del elemento para que, junto con la propiedad transition: all ease 1s den el efecto de que sube y baja. Y creo que de todas formas tendrías que usar JS para darle la propiedad onclick a <button> y así poder agregar y quitar clases cada vez que se presione el botón

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.