Feature Request: Hover Effect on Grid Items (Color/Image Change) #10847
Replies: 1 comment
-
That's pure HTML/JavaScript. Quarto is using Bootstrap, so take a look at the documentation and learn/implement it. Simple hover effect can also be achieved via (S)CSS, see for example https://www.w3schools.com/CSSref/sel_hover.php. See also custom listings: https://quarto.org/docs/websites/website-listings-custom.html If you want a simple hover effect, you can use your favourite browser inspect/developer mode to know what element to target. div.quarto-post:hover {
background-color: #b22222;
} |
Beta Was this translation helpful? Give feedback.
-
Description
Could there be a demonstration of how to implement a hover effect for the grid listing page that changes either the background color or displays a background image when a user hovers over an item?
Beta Was this translation helpful? Give feedback.
All reactions