You-Dont-Need-JavaScript icon indicating copy to clipboard operation
You-Dont-Need-JavaScript copied to clipboard

Add a Stylish Spoiler Text Effect for Dark and Light Themes

Open ms-solly opened this issue 1 year ago • 0 comments

This pull request introduces a text spoiler effect feature, enhancing user interaction by allowing hidden content to be revealed upon user interaction. The implementation is showcased on two separate pages—one representing a dark theme and the other representing a light theme—catering to different aesthetic preferences.

Features Dark and Light Themes: The text spoiler effect is displayed in distinct dark and light themes, allowing users to experience the effect in different visual contexts. Glassmorphism Design: Both pages feature a modern glassmorphism design, providing a sleek and visually appealing way to present the content while ensuring readability. Interactive Spoilers: Users can interact with the spoiler elements to reveal hidden text, adding an engaging element to the content presentation.

light theme :

https://github.com/user-attachments/assets/4786bfb6-78e7-4682-b098-c49f3f518b5f

dark theme :

https://github.com/user-attachments/assets/1b305f75-26b3-41c3-a19a-6f7bd043d393

ms-solly avatar Oct 12 '24 16:10 ms-solly