From our sponsor: Meco is a distraction-free space for reading and discovering newsletters, separate from the inbox.
Here is a new plugin for creating nice sliding captions for images. When hovering over the image, the caption appears and the image gets a semi-transparent color overlay.
You can call the plugin the following way:
$(elementID).capslide()
You can configure the plugin with the following properties:
- caption_color: The text color of the caption
- caption_bgcolor: The background color of the caption
- overlay_bgcolor: The overlay color (tint color)
- border: e.g. ‘2px solid #00000’ for a black border, leave empty for no border /li>
- showcaption: Boolean value to show or hide the title of the caption initially
Tiny break: 📬 Want to stay up to date with frontend and trends in web design? Subscribe and get our Collective newsletter twice a tweek.
Hi,
Great plugin! I have a question…. how can I add some character encoding support other than English, for example Persian?