Answer the question
In order to leave comments, you need to log in
What is the name of the beautiful spoiler opening plugin?
Comrades, help me, I saw a beautiful spoiler some time ago (part of the text hidden under the button), but at the moment I couldn’t find it right away.
It works like this:
The first part of the text is visible. Below it with a gradient to transparency is part of the next. Clicking on the gradient bar opens the text below the gradient with the rest of the text.
It doesn't have to be a library or a ready-made example. You can just link to the site where it is implemented.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
As usual...
If you want to do something well, do it yourself. © Ferdinand Porsche
Here's an example I found at jsfiddle.net/qdophzto/2 (already slightly edited here).
Maybe someone will come in handy.
PS: Transparency is added to the bottom of the box with one property: box-shadow: inset 0 -60px 60px -60px #ddd;
You can implement it differently, but there is no need for it at all =)
Learn jQuery and be happy.
There are plenty of examples both on the site and in the internet.
Google -> "spoiler jQuery"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question