Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

owl-carousel - main page #5

Merged
merged 2 commits into from
Mar 26, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
owl-carousel - main page
  • Loading branch information
divitkarnawat committed Mar 24, 2018
commit 7573415b513d101e61d18810ac951aa20e730ebc
15 changes: 15 additions & 0 deletions new/cars_js.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

function cars() {
var car_2017 = document.getElementById("cars_2017");
var car_2015 = document.getElementById("cars_2015");
var car_2013 = document.getElementById("cars_2013");
var car_2011 = document.getElementById("cars_2011");
var toggleCarsText = document.getElementById("toggleCarsText");

{
toggleCarsText.innerHTML = "hello..................................";
}



}
345 changes: 345 additions & 0 deletions new/css/owl_carousel.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,345 @@

/*----image hove----*/
.view {
float: left;
overflow: hidden;
position: relative;
text-align: center;
cursor: default;
background: #fff;
}
.view .mask,
.view .content {
position: absolute;
overflow: hidden;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.view img {
display: block;
position: relative;
}
.view h2 {
text-transform: uppercase;
color: #fff;
text-align: center;
position: relative;
font-size: 16px;
padding: 10px;
background: rgba(0, 0, 0, 0.8);
margin: 5px 0 0 0;
}
.view p {
font-size: 12px;
position: relative;
color: #fff;
padding: 10px 20px 20px;
text-align: center;
margin-bottom: 10px;
}
.view a.info {
display: inline-block;
background-color: rgba(0,0,0,0.6);
width: 50px;
height: 50px;
line-height: 50px;
border-radius: 60px;
-moz-border-radius: 60px;
-webkit-border-radius: 60px;
}
.view a.info:hover { background-color: #11ABB0 }
.mask a i {
color: #fff !important;
font-size: 16px;
}
.view-tenth img {
-webkit-transform: scaleY(1);
-moz-transform: scaleY(1);
-o-transform: scaleY(1);
-ms-transform: scaleY(1);
transform: scaleY(1);
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
}
.view-tenth .mask {
background-color: rgba(17, 171, 176, 0.3);
-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
-ms-transition: all 0.5s linear;
transition: all 0.5s linear;
-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: alpha(opacity=0);
opacity: 0;
}
.view-tenth h2 {
background: transparent;
margin: 0px 10px;
-webkit-transform: scale();
-moz-transform: scale();
-o-transform: scale();
-ms-transform: scale();
transform: scale();
color: #333;
-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
-ms-transition: all 0.5s linear;
transition: all 0.5s linear;
-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: alpha(opacity=0);
opacity: 0;
}
.view-tenth p {
color: #333;
line-height: normal;
-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: alpha(opacity=0);
opacity: 0;
-webkit-transform: scale();
-moz-transform: scale();
-o-transform: scale();
-ms-transform: scale();
transform: scale();
-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
-ms-transition: all 0.5s linear;
transition: all 0.5s linear;
}
.view-tenth a.info {
-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: alpha(opacity=0);
opacity: 0;
-webkit-transform: scale();
-moz-transform: scale();
-o-transform: scale();
-ms-transform: scale();
transform: scale();
-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
-ms-transition: all 0.5s linear;
transition: all 0.5s linear;
}
.view-tenth:hover img {
-webkit-transform: scale(5);
-moz-transform: scale(5);
-o-transform: scale(5);
-ms-transform: scale(5);
transform: scale(5);
-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: alpha(opacity=.5);
opacity: .5;
}
.view-tenth:hover .mask {
-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
opacity: 1;
}
.view-tenth:hover h2,
.view-tenth:hover p,
.view-tenth:hover a.info {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-o-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
opacity: 1;
}

#owl-demo { margin-bottom: 15px }
#owl-demo .item { margin: 3px }
#owl-demo .item img {
display: block;
width: 100%;
height: auto;
vertical-align: middle;
}
#owl-demo1 { margin-bottom: 15px }
#owl-demo1 .item { margin: 3px }
#owl-demo1 .item img {
display: block;
width: 80%;
height: auto;
vertical-align: middle;
}
#owl-demo2 { margin-bottom: 15px }
#owl-demo2 .item { margin: 3px }
#owl-demo2 .item img {
display: block;
width: 80%;
height: auto;
vertical-align: middle;
}
#owl-demo3 { margin-bottom: 15px }
#owl-demo3 .item { margin: 3px }
#owl-demo3 .item img {
display: block;
width: 80%;
height: auto;
vertical-align: middle;
}
#owl-demo4 { margin-bottom: 15px }
#owl-demo4 .item { margin: 3px }
#owl-demo4 .item img {
display: block;
width: 80%;
height: auto;
vertical-align: middle;
}
#owl-demo5 { margin-bottom: 15px }
#owl-demo5 .item { margin: 3px }
#owl-demo5 .item img {
display: block;
width: 80%;
height: auto;
vertical-align: middle;
}

.owl-prev {
float: left;
padding: 8px 20px;
margin-left: 2px;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
margin-top: 5px;
background-color: #eee;
}
.owl-next {
float: right;
padding: 8px 20px;
margin-right: 2px;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
margin-top: 5px;
background-color: #eee;
}
/*404 page*/
.fof { margin-top: -40px }
.fof h1 { margin-top: 0px }

.mfp-fade.mfp-bg {
opacity: 0;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready { opacity: 0.8 }
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing { opacity: 0 }
/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
opacity: 0;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content { opacity: 1 }
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content { opacity: 0 }

/* Recent work hover effect */

.view-sixth img {
-webkit-transition: all 0.4s ease-in-out 0.5s;
-moz-transition: all 0.4s ease-in-out 0.5s;
-o-transition: all 0.4s ease-in-out 0.5s;
-ms-transition: all 0.4s ease-in-out 0.5s;
transition: all 0.4s ease-in-out 0.5s;
}
.view-sixth .mask {
background-color: rgba(0,0,0,0.5);
-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: alpha(opacity=0);
opacity: 0;
-webkit-transition: all 0.3s ease-in 0.4s;
-moz-transition: all 0.3s ease-in 0.4s;
-o-transition: all 0.3s ease-in 0.4s;
-ms-transition: all 0.3s ease-in 0.4s;
transition: all 0.3s ease-in 0.4s;
}
.view-sixth a.info {
-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: alpha(opacity=0);
opacity: 0;
-webkit-transform: translateY(100px);
-moz-transform: translateY(100px);
-o-transform: translateY(100px);
-ms-transform: translateY(100px);
transform: translateY(100px);
-webkit-transition: all 0.3s ease-in-out 0.1s;
-moz-transition: all 0.3s ease-in-out 0.1s;
-o-transition: all 0.3s ease-in-out 0.1s;
-ms-transition: all 0.3s ease-in-out 0.1s;
transition: all 0.3s ease-in-out 0.1s;
}
.view-sixth:hover .mask {
-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
opacity: 1;
-webkit-transition-delay: 0s;
-moz-transition-delay: 0s;
-o-transition-delay: 0s;
-ms-transition-delay: 0s;
transition-delay: 0s;
}
.view-sixth:hover img {
-webkit-transition-delay: 0s;
-moz-transition-delay: 0s;
-o-transition-delay: 0s;
-ms-transition-delay: 0s;
transition-delay: 0s;
}
.view-sixth:hover a.info {
-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-o-transform: translateY(0px);
-ms-transform: translateY(0px);
transform: translateY(0px);
-webkit-transition-delay: 0.3s;
-moz-transition-delay: 0.3s;
-o-transition-delay: 0.3s;
-ms-transition-delay: 0.3s;
transition-delay: 0.3s;
}
.view {
float: left;
overflow: hidden;
position: relative;
text-align: center;
cursor: default;
}
.view .mask,
.view .content {
position: absolute;
overflow: hidden;
top: 0;
left: 0;
}
.view img {
display: block;
position: relative;
}
.view a.info {
display: inline-block;
text-decoration: none;
position: relative;
top: 35%;
color: #fff;
}

Loading