|
@@ -10,3 +10,86 @@ ion-card-title {
|
|
ion-avatar {
|
|
ion-avatar {
|
|
margin-right: 10px;
|
|
margin-right: 10px;
|
|
}
|
|
}
|
|
|
|
+.card {
|
|
|
|
+ width: 365px;
|
|
|
|
+ height: 250px;
|
|
|
|
+ background-color: #4158D0;
|
|
|
|
+ background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
|
|
|
|
+ border-radius: 8px;
|
|
|
|
+ color: white;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ position: relative;
|
|
|
|
+ transform-style: preserve-3d;
|
|
|
|
+ perspective: 1000px;
|
|
|
|
+ transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
|
|
|
|
+ cursor: pointer;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card-content {
|
|
|
|
+ padding: 20px;
|
|
|
|
+ position: relative;
|
|
|
|
+ z-index: 1;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ gap: 10px;
|
|
|
|
+ color: white;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ text-align: center;
|
|
|
|
+ height: 100%;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card-content .card-title {
|
|
|
|
+ font-size: 24px;
|
|
|
|
+ font-weight: 700;
|
|
|
|
+ color: inherit;
|
|
|
|
+ text-transform: uppercase;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card-content .card-para {
|
|
|
|
+ color: inherit;
|
|
|
|
+ opacity: 0.8;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card:hover {
|
|
|
|
+ transform: rotateY(10deg) rotateX(10deg) scale(1.05);
|
|
|
|
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card:before {
|
|
|
|
+ content: "";
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
|
|
|
|
+ transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
|
|
|
|
+ z-index: 1;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card:hover:before {
|
|
|
|
+ transform: translateX(-100%);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card:after {
|
|
|
|
+ content: "";
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 0;
|
|
|
|
+ right: 0;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
|
|
|
|
+ transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
|
|
|
|
+ z-index: 1;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card:hover:after {
|
|
|
|
+ transform: translateX(100%);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|