More actions
No edit summary Tag: Manual revert |
No edit summary |
||
Line 54: | Line 54: | ||
background-size: cover; | background-size: cover; | ||
background-position: center; | background-position: center; | ||
} | |||
.container { | |||
perspective: 1000px; | |||
width: 300px; | |||
height: 200px; | |||
margin: 50px; | |||
} | |||
/* The main panel */ | |||
.panel { | |||
width: 100%; | |||
height: 100%; | |||
position: relative; | |||
transform-style: preserve-3d; | |||
transition: transform 0.6s; | |||
} | |||
/* The front side of the panel */ | |||
.panel-front, .panel-back { | |||
position: absolute; | |||
width: 100%; | |||
height: 100%; | |||
backface-visibility: hidden; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
padding: 10px; | |||
box-sizing: border-box; | |||
} | |||
/* The back side of the panel */ | |||
.panel-back { | |||
transform: rotateY(180deg); | |||
display: flex; | |||
flex-direction: row; | |||
justify-content: space-around; | |||
} | |||
/* Sub-panels */ | |||
.sub-panel { | |||
width: 45%; | |||
height: 80%; | |||
background-color: #f0f0f0; | |||
border: 1px solid #ccc; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
box-sizing: border-box; | |||
} | |||
/* Flip effect on hover */ | |||
.panel:hover { | |||
transform: rotateY(180deg); | |||
} | |||
/* Optional styling for the front */ | |||
.panel-front { | |||
background-color: #ddd; | |||
border: 1px solid #ccc; | |||
} | } |
Revision as of 18:06, 22 December 2024
/* CSS placed here will be applied to all skins */
#comments-body{
margin-top:5%;
margin-left:25%;
margin-right:25%;
}
.card-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 20px;
margin: 20px;
}
.card {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 8px;
width: 300px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
overflow: hidden;
}
.card:hover {
transform: scale(1.05);
}
.card img {
width: 100%;
height: 200px;
object-fit: cover;
}
.card-content {
padding: 15px;
}
.card-content h3 {
margin: 0;
font-size: 1.25em;
color: #333;
}
.card-content p {
color: #777;
font-size: 0.95em;
margin-top: 10px;
}
.card-background{
background-image: url("https://www.chromengine.com/images/a/ac/ChromeEngine.png");
background-size: cover;
background-position: center;
}
.container {
perspective: 1000px;
width: 300px;
height: 200px;
margin: 50px;
}
/* The main panel */
.panel {
width: 100%;
height: 100%;
position: relative;
transform-style: preserve-3d;
transition: transform 0.6s;
}
/* The front side of the panel */
.panel-front, .panel-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
display: flex;
justify-content: center;
align-items: center;
padding: 10px;
box-sizing: border-box;
}
/* The back side of the panel */
.panel-back {
transform: rotateY(180deg);
display: flex;
flex-direction: row;
justify-content: space-around;
}
/* Sub-panels */
.sub-panel {
width: 45%;
height: 80%;
background-color: #f0f0f0;
border: 1px solid #ccc;
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
}
/* Flip effect on hover */
.panel:hover {
transform: rotateY(180deg);
}
/* Optional styling for the front */
.panel-front {
background-color: #ddd;
border: 1px solid #ccc;
}