1
I would like to know how to create an event click on <div>
that upon receiving the event it expanded to a percentage of the screen.
Ex: 6 <div>
, blog, who we are, etc... When I click "Who we are", it expands with a different CSS, texts, etc... I think it’s asynchronous, but I couldn’t do it.
NOTE: I would like to do with Transition effects.
try it jQuery Animate
– tomasantunes
Dear your question this kind of confusing, what percentage of screen? Do you want the candy to expand in what way? Edit the question with a screenshot of the layout you want or the code you already have
– hugocsl
Type like this man https://codepen.io/RobotsPlay/pen/Lniyd
– user84584