-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #255 from sharmi4590/Virtuo-Learn
I have added testimonials and made it responsive
- Loading branch information
Showing
9 changed files
with
297 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
var swiper = new Swiper(".slide-content", { | ||
slidesPerView: 3, | ||
spaceBetween: 25, | ||
loop: true, | ||
centerSlide: 'true', | ||
fade: 'true', | ||
grabCursor: 'true', | ||
pagination: { | ||
el: ".swiper-pagination", | ||
clickable: true, | ||
dynamicBullets: true, | ||
}, | ||
navigation: { | ||
nextEl: ".swiper-button-next", | ||
prevEl: ".swiper-button-prev", | ||
}, | ||
|
||
breakpoints:{ | ||
0: { | ||
slidesPerView: 1, | ||
}, | ||
520: { | ||
slidesPerView: 2, | ||
}, | ||
950: { | ||
slidesPerView: 3, | ||
}, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
/* Google Fonts - Poppins */ | ||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap'); | ||
|
||
|
||
|
||
.slide-container{ | ||
max-width: 1120px; | ||
width: 100%; | ||
padding: 40px 0; | ||
} | ||
.slide-content{ | ||
margin: 0 40px; | ||
overflow: hidden; | ||
border-radius: 25px; | ||
} | ||
|
||
|
||
.image-content{ | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
position: relative; | ||
padding: 25px 0; | ||
} | ||
|
||
|
||
.card-image{ | ||
height: 150px; | ||
width: 150px; | ||
border-radius: 50%; | ||
background: #ffffff; | ||
} | ||
.card-image .card-img{ | ||
height: 100%; | ||
width: 100%; | ||
object-fit: cover; | ||
border-radius: 50%; | ||
border: 4px solid #3c4aea; | ||
} | ||
.swiper-navBtn{ | ||
color: #3c4aea; | ||
transition: color 0.3s ease; | ||
} | ||
.swiper-navBtn:hover{ | ||
color: #3c4aea; | ||
} | ||
.swiper-navBtn::before, | ||
.swiper-navBtn::after{ | ||
font-size: 35px; | ||
} | ||
.swiper-button-next{ | ||
right: 0; | ||
} | ||
.swiper-button-prev{ | ||
left: 0; | ||
} | ||
.swiper-pagination-bullet{ | ||
background-color: #3c4aea; | ||
opacity: 1; | ||
} | ||
.swiper-pagination-bullet-active{ | ||
background-color: #3c4aea; | ||
} | ||
|
||
@media screen and (max-width: 768px) { | ||
.slide-content{ | ||
margin: 0 10px; | ||
} | ||
.swiper-navBtn{ | ||
display: none; | ||
} | ||
} | ||
.card:hover{ | ||
transform: rotateY(180deg); | ||
|
||
} | ||
.card{ | ||
position: relative; | ||
transition: all 1s linear; | ||
transform-style: preserve-3d; | ||
perspective: 1000px; | ||
border-radius: 25px; | ||
|
||
background-color: #e9ebff; | ||
height:300px; | ||
} | ||
|
||
.fronts { | ||
backface-visibility: hidden; | ||
} | ||
|
||
.backs { | ||
transform: rotateY(180deg); | ||
backface-visibility: hidden; | ||
border: 2px solid #3c4aea; | ||
background-color: white; | ||
border-radius: 50px; | ||
font-size: 1em; | ||
height: 100%; | ||
width:100% | ||
} | ||
|
||
.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; | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters