4,554
edits
No edit summary |
No edit summary |
||
Line 116: | Line 116: | ||
background-color: white; | background-color: white; | ||
border: 1px solid; | border: 1px solid; | ||
transition: transform 0.001s ease, border 0.001s ease; /* Add transitions with ease timing function */ | |||
-webkit-backface-visibility: hidden; | |||
-webkit-transform: translateZ(0) scale(1, 1); | |||
} | } | ||
Line 122: | Line 125: | ||
z-index: 1; /* Ensure it's above the wrapper */ | z-index: 1; /* Ensure it's above the wrapper */ | ||
padding: 20px; | padding: 20px; | ||
transition: transform 0.001s ease, border 0.001s ease; | |||
-webkit-backface-visibility: hidden; | |||
-webkit-transform: translateZ(0) scale(1, 1); | |||
} | } | ||
Line 127: | Line 133: | ||
/* Styles for show-article when hovered */ | /* Styles for show-article when hovered */ | ||
transform: rotate(2.5deg); /* Rotate the content */ | transform: rotate(2.5deg); /* Rotate the content */ | ||
-webkit-backface-visibility: hidden; | |||
-webkit-transform: translateZ(0) scale(1, 1); | |||
border: 1px solid; | border: 1px solid; | ||
background-color: white; | background-color: white; | ||
padding: 20px; | padding: 20px; | ||
} | } | ||