Skip to content

Commit

Permalink
Merge pull request #353 from sharmi4590/V
Browse files Browse the repository at this point in the history
Text visible
  • Loading branch information
JAYESHBATRA authored Jun 7, 2024
2 parents 96619e0 + 415d043 commit 71157b8
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 64 deletions.
149 changes: 94 additions & 55 deletions Pages/Testimonials/test-style.css
Original file line number Diff line number Diff line change
@@ -1,130 +1,169 @@
/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');



.slide-container{
.slide-container {
max-width: 1120px;
width: 100%;
padding: 40px 0;
}
.slide-content{

.slide-content {
margin: 0 40px;
overflow: hidden;
border-radius: 25px;
}


.image-content{
.image-content {
display: flex;
flex-direction: column;
align-items: center;
position: relative;
padding: 25px 0;
}


.card-image{
.card-image {
height: 150px;
width: 150px;
border-radius: 50%;
background: #ffffff;
}
.card-image .card-img{

.card-image .card-img {
height: 100%;
width: 100%;
object-fit: cover;
border-radius: 50%;
border: 4px solid #3c4aea;
}
.swiper-navBtn{

.swiper-navBtn {
color: #3c4aea;
transition: color 0.3s ease;
}
.swiper-navBtn:hover{

.swiper-navBtn:hover {
color: #3c4aea;
}

.swiper-navBtn::before,
.swiper-navBtn::after{
.swiper-navBtn::after {
font-size: 35px;
}
.swiper-button-next{

.swiper-button-next {
right: 0;
}
.swiper-button-prev{

.swiper-button-prev {
left: 0;
}
.swiper-pagination-bullet{

.swiper-pagination-bullet {
background-color: #3c4aea;
opacity: 1;
}
.swiper-pagination-bullet-active{

.swiper-pagination-bullet-active {
background-color: #3c4aea;
}

@media screen and (max-width: 768px) {
.slide-content{
.slide-content {
margin: 0 10px;
}
.swiper-navBtn{

.swiper-navBtn {
display: none;
}
}
.card:hover{
transform: rotateY(180deg);

}
.card{

.card {
position: relative;
transition: all 1s linear;
transform-style: preserve-3d;
perspective: 1000px;
border-radius: 25px;

background-color: #e9ebff;
height:300px;
transform-style: preserve-3d;
perspective: 1000px;
border-radius: 25px;
background-color: #e9ebff;
height: 300px;
}

.fronts {
backface-visibility: hidden;
z-index: 2;
transition: opacity 0.5s ease;
}

.card:hover .fronts {
opacity: 0;
}

.backs {
transform: rotateY(180deg);
backface-visibility: hidden;
border: 2px solid #3c4aea;
background-color: white;
border-radius: 50px;
font-size: 1em;
height: 100%;
width:100%
width: 100%;
opacity: 0;
transition: opacity 0.5s ease;
position: absolute;
top: 0;
left: 0;
padding: 10px 40px;
}

.rating i {
color: #ffc107;
}

.backs {
position: relative;
padding: 10px 40px;
&::before {
content: "\201C";
position: absolute;
font-weight: bold;
font-size: 4em;
color: #3c4aea;
top: -30px;
left: 0px;
font-family: Georgia, Times, serif;
}
&::after {
content: "\201D";
position: absolute;
font-weight: bold;
font-size: 4em;
color: #3c4aea;
bottom: -50px;
right: 0px;
font-family: Georgia, Times, serif;
}
}
.card:hover .backs {
opacity: 1;
}

.backs::before,
.backs::after {
content: "\201C";
position: absolute;
font-weight: bold;
font-size: 4em;
color: #3c4aea;
font-family: Georgia, Times, serif;
}

.backs::before {
top: -30px;
left: 0px;
}

.backs::after {
content: "\201D";
bottom: -50px;
right: 0px;
}

.swiper-navBtn {
color: #3c4aea;
transition: color 0.3s ease;
}

.swiper-navBtn:hover {
color: #3c4aea;
}

.swiper-navBtn::before,
.swiper-navBtn::after {
font-size: 35px;
}
.switch-checkbox:checked + .switch-label .switch-button .moon-icon {
color: black;
}

.switch-checkbox:checked + .switch-label .switch-button .sun-icon {
color: #ffc107;
}

.switch-checkbox:checked + .switch-label .switch-button .moon-icon + .fronts,
.switch-checkbox:checked + .switch-label .switch-button .moon-icon + .backs {
color: black;
}
16 changes: 8 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ <h2 class="h2 section-title has-underline" style="margin-top: 15px;align-items:
<div class="card-image">
<img src="Pages/Testimonials/testimonials-1.jpg" alt="" class="card-img">
</div>
<h1 style="font-size: 20px;">B.Sharmila</h1>
<h1 style="font-size: 20px;color: #3c4aea;">B.Sharmila</h1>
</div>

<div class="rating" >
Expand All @@ -604,7 +604,7 @@ <h1 style="font-size: 20px;">B.Sharmila</h1>
<i class="fas fa-star"></i>
</div>
</div>
<div class="backs" style="align-items: center;justify-content: center;display: flex;padding: 10px 10px ;">
<div class="backs" style="align-items: center;justify-content: center;display: flex;padding: 10px 10px ;color: #3c4aea;">

Virtuo Learn transformed my child's education with personalized learning. Interactive tools engage while the doubt engine ensures no question goes unanswered. Progress since joining has been remarkable. </div>

Expand All @@ -616,7 +616,7 @@ <h1 style="font-size: 20px;">B.Sharmila</h1>
<div class="card-image">
<img src="Pages/Testimonials/testimonials-2.jpg" alt="" class="card-img">
</div>
<h1 style="font-size: 20px;">Prem Sampath</h1>
<h1 style="font-size: 20px;color: #3c4aea;">Prem Sampath</h1>
</div>
<div class="rating" >
<i class="fas fa-star"></i>
Expand All @@ -626,15 +626,15 @@ <h1 style="font-size: 20px;">Prem Sampath</h1>
<i class="fas fa-star"></i>
</div>
</div>
<div class="backs" style="align-items: center;justify-content: center;display: flex;padding: 10px 10px ;">Virtuo Learn's flexibility and vast resources make studying manageable and enjoyable for busy college students. Instant feedback from quizzes keeps me on track, enhancing the learning experience.</div>
<div class="backs" style="align-items: center;justify-content: center;display: flex;padding: 10px 10px ;color: #3c4aea;">Virtuo Learn's flexibility and vast resources make studying manageable and enjoyable for busy college students. Instant feedback from quizzes keeps me on track, enhancing the learning experience.</div>
</div>
<div class="card swiper-slide">
<div class="fronts" style="align-items: center; justify-content: center; display: flex; flex-direction: column; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">
<div class="image-content" >
<div class="card-image">
<img src="Pages/Testimonials/testimonials-3.jpg" alt="" class="card-img">
</div>
<h1 style="font-size: 20px;">Aron Loes</h1>
<h1 style="font-size: 20px;color: #3c4aea;">Aron Loes</h1>
</div>
<div class="rating" >
<i class="fas fa-star"></i>
Expand All @@ -644,15 +644,15 @@ <h1 style="font-size: 20px;">Aron Loes</h1>
<i class="fas fa-star"></i>
</div>
</div>
<div class="backs" style="align-items: center;justify-content: center;display: flex;padding: 10px 10px ;">Integrating Virtuo Learn into my classroom has yielded phenomenal results. Its variety of tools and interactive simulations cater to diverse student needs, transforming teaching and learning.</div>
<div class="backs" style="align-items: center;justify-content: center;display: flex;padding: 10px 10px ;color: #3c4aea;">Integrating Virtuo Learn into my classroom has yielded phenomenal results. Its variety of tools and interactive simulations cater to diverse student needs, transforming teaching and learning.</div>
</div>
<div class="card swiper-slide">
<div class="fronts" style="align-items: center; justify-content: center; display: flex; flex-direction: column; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">
<div class="image-content" >
<div class="card-image">
<img src="Pages/Testimonials/testimonials-4.jpg" alt="" class="card-img">
</div>
<h1 style="font-size: 20px;">Sonal K</h1>
<h1 style="font-size: 20px;color: #3c4aea;">Sonal K</h1>
</div>
<div class="rating" >
<i class="fas fa-star"></i>
Expand All @@ -662,7 +662,7 @@ <h1 style="font-size: 20px;">Sonal K</h1>
<i class="fas fa-star"></i>
</div>
</div>
<div class="backs" style="align-items: center;justify-content: center;display: flex;padding: 10px 10px ;">Virtuo Learn made returning to education smooth and enjoyable. Its user-friendly interface and comprehensive features support my educational goals effectively, providing the resources needed for success.</div>
<div class="backs" style="align-items: center;justify-content: center;display: flex;padding: 10px 10px ;color: #3c4aea;">Virtuo Learn made returning to education smooth and enjoyable. Its user-friendly interface and comprehensive features support my educational goals effectively, providing the resources needed for success.</div>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ body {
width: 100%;
z-index: 1000;
}
}




Expand Down

0 comments on commit 71157b8

Please sign in to comment.