Tooltip popup box for Moodle
I want to add a tooltip to an HTML element in Moodle, using the custom CSS available in the theme settings. I want only to use CSS, and not add any HTML or JavaScript to the page. Here's how I did it.
This can be used to apply a popup message to any CSS class, and you can position the message anywhere on the page. You can style the popup message any way you want.
Please view the demo in CodePen for best results.
This can be used to apply a popup message to any CSS class, and you can position the message anywhere on the page. You can style the popup message any way you want.
Please view the demo in CodePen for best results.
Comments
Post a Comment