foodlog/app/assets/stylesheets/application.css

18 lines
722 B
CSS

/*
* This is a manifest file that'll be compiled into application.css.
*
* With Propshaft, assets are served efficiently without preprocessing steps. You can still include
* application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
* cascading order, meaning styles declared later in the document or manifest will override earlier ones,
* depending on specificity.
*
* Consider organizing styles into separate files for maintainability.
*/
.card-hover {
transition: box-shadow 0.5s, transform 0.9s;
}
.card-hover:hover {
box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.12);
transform: translateY(-4px) scale(1.03);
z-index: 2;
}