Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
173 changes: 125 additions & 48 deletions .idea/workspace.xml

Large diffs are not rendered by default.

89 changes: 79 additions & 10 deletions css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,75 @@ body , html,h1,h2,h3,h4,h5,h6 {
margin: 0;
padding: 0;
}
body{
overflow-x: hidden;
}
img {
width: 100%;
}
.clearfix:before , .clearfix:after {
clear: both;
display: table;
content: "";
}
.wrapper > div {
width: 100%;
height: 100%;
background: #666;
color: #fff;
border-bottom: 1px solid #ccc;
/* border-bottom: 1px solid #ccc;*/
}
.container{
width: 940px;
margin: 0 auto;
}

section {
width: 600px;
margin: 0px auto ;
padding:100px 0 ;
text-align: center;
text-align: center;
color: #fff;
}
.imgWrapper{
width: 200px;
height: 200px;
border-radius: 100px;
margin: 0 auto 20px ;
box-shadow: 0 0 10px #f7f7f7;
border: 5px solid #000000;
box-shadow: 0 0 20px #cccccc;
overflow: hidden;
}
section img {
width: 100%;
.userImgOuter{
position: relative;
}
.userImgOuter .namePopup {
position: absolute;
top:-10px;
right:145px;
background:#00ccff;
padding: 10px;
border-radius: 5px;
box-shadow: #000;
-webkit-transform:rotate(45deg);
-moz-transform:rotate(45deg);
transform:rotate(45deg);
}
.userImgOuter .namePopup:after {
content:"";
border-top: 10px solid #00ccff;
border-left:10px solid transparent;
border-right:10px solid transparent;
bottom:-10px;
left:24px;

position: absolute;
}
section h1 {
color: #fff;
font-size:32px ;
}
.clearfix:before , .clearfix:after {
clear: both;
display: table;
content: "";
.wrapper .twoScreen{
background:#f56943;
}
.twoScreen .container{
width: 1100px;
Expand All @@ -49,6 +80,44 @@ section h1 {
width: 500px;
float:left;
}
.twoScreen .imgWrapper {
width: 100px;
height: 100px;
border-radius: 50px;
}
.twoScreen h1 {
font-size: 20px;
}
.twoScreen p {
font-size: 14px;
color: #000;
}
section p {
font-size: 18px;
line-height: 20px;
padding: 10px;
border:1px solid #f2f2f2;
border-radius: 5px;
}
#screen1 {
background: url("../images/1600x810.png") center fixed no-repeat;
background-size: cover;
}
#screen2 {
background: #00ccff;
}
#screen3 {
background: #69a74e;
}
#screen1 h1,#screen1 p{
color:#000;
}
.twoScreen section:first-child {
margin-right:100px;
}
.twoScreen .imgWrapper {
transition:all 0.5s ease;
}
.twoScreen .imgWrapper:hover {
border-color: #fd6c02;
}
Binary file added images/1600x810.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Logo _webonise.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
139 changes: 105 additions & 34 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,46 +8,105 @@
</head>
<body>
<div class="wrapper">
<div class="screen home">
<div class="screen home" id="home">
<div class="container">
<section class="infoWrapper">
<div class="imgWrapper">
<img src="images/sportCourses_4.jpg" alt="img" />
<div class="userImgOuter">
<div class="imgWrapper"
data-anchor-target="#home"
data-0-top-top="opacity:1;border-radius:100px;transform:rotate(0deg);box-shadow: 0 0 10px #339BFF;"
data--100-top-top="opacity:0.8;border-radius:50px;transform:rotate(90deg);"
data--200-top-top="opacity:0.3;transform:rotate(180deg);"
data--500-top-top="opacity:0;transform:rotate(360deg);">
<img src="images/sportCourses_4.jpg" alt="img" />
</div>
<div class="namePopup"
data-anchor-target="#home"
data-0-top-top="opacity:1;border-radius:100px;transform:rotate(45deg);box-shadow: 0 0 10px #339BFF;"

data--100-top-top="opacity:0;"
>
Nick Name</div>

</div>
<h1>xyz</h1>
<p class="userInfo">Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus</p>
</section>
</div>
</div>
<div class="screen">
<div class="container">
<div class="screen" id="screen1" data-bottom-top="background-position:0 0;box-shadow: 0 0 10px #339BFF;"
data--100-top-top="background-position:0 -40px;"
data--200-top-top="background-position:0 -80px;"
data--300-top-top="background-position:0 -120px;"
data--400-top-top="background-position:-0 -160px;"
data-top-bottom="background-position:-0 -100px;">

<section class="infoWrapper">
<div class="imgWrapper">
<div class="container" >
<section class="infoWrapper"
data-anchor-target="#screen1"
data--100-top-top="position:fixed; top:0;"
data-150-top-top="top:200px"
data-250-top-top="position:relative; top:300px"
>
<div class="imgWrapper"
data-anchor-target="#screen1"
data-100-top-top="opacity:1;border-radius:100px;transform:rotate(0deg); left:0; margin-right:200px;box-shadow:0 0 10px #7C0CE8;"
data-250-top-top="opacity:0.8;border-radius:50px;transform:rotate(90deg); left:-10%;"
data-300-top-top="opacity:0.4;transform:rotate(180deg); left:-50%;"
data-350-top-top="opacity:0.2;transform:rotate(245deg); left:-100%;"
data-400-top-top="left:-150%;"
data-450-top-top="opacity:0;transform:rotate(280deg);position:relative; left:-400%;">
<img src="images/sportCourses_4.jpg" alt="img" />
</div>
<h1>xyz</h1>
<p class="userInfo">Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus</p>
<h1 data-anchor-target="#screen1"
data-0-top-top="border-radius:100px;transform:rotate(0deg); right:0;font-size:42px;color:#7c0ce8;"
data-50-top-top="border-radius:100px;transform:rotate(0deg); right:0;font-size:36px;"
data-100-top-top="opacity:1;border-radius:100px;transform:rotate(0deg); right:0;font-size:30px;"
data-150-top-top="opacity:0.8;border-radius:50px;transform:rotate(90deg); right:-10%;"
data-200-top-top="opacity:0.4;transform:rotate(180deg); right:-50%;font-size:28px;"
data-300-top-top="opacity:0.2;transform:rotate(245deg); right:-100%;font-size:24px;"
data-350-top-top="right:-150%;"
data-400-top-top="opacity:0;transform:rotate(280deg);position:relative; right:-400%;">
Unmesh
</h1>
<p class="userInfo" data-anchor-target="#screen1"
data-100-top-top="opacity:1;transform:scale(1,1);"
data-300-top-top="opacity:0.3;transform:scale(1.5,1.5);"
data-400-top-top="opacity:0.5;"
data--100-top-top="opacity:0.3;"
data--50-top-top="opacity:1;">
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus</p>
</section>
</div>
</div>
<div class="screen">
<h1>Screen2</h1>
<div class="screen" id="screen2">
<div class="container">
<h1>Screen2</h1>
<section class="infoWrapper">
<div class="imgWrapper">
<div class="imgWrapper"
data-anchor-target="#screen2"
data-100-top-top="opacity:1;border-radius:100px;transform:rotate(0deg); right:0; margin-right:200px;box-shadow:0 0 10px #7C0CE8;"
data-250-top-top="opacity:0.8;border-radius:50px;transform:rotate(90deg); right:-10%;"
data-300-top-top="opacity:0.4;transform:rotate(180deg); right:-50%;"
data-350-top-top="opacity:0.2;transform:rotate(245deg); right:-100%;"
data-400-top-top="right:-150%;"
data-450-top-top="opacity:0;transform:rotate(280deg);position:relative; right:-400%;">
<img src="images/sportCourses_4.jpg" alt="img" />
</div>
<h1>xyz</h1>
<h1 data-anchor-target="#screen2"
data-0-top-top="border-radius:100px;transform:rotate(0deg); left:0;font-size:56px;color:#7c0ce8;"
data-50-top-top="border-radius:100px;transform:rotate(0deg); right:0;font-size:52px;"
data-100-top-top="opacity:1;border-radius:100px;transform:rotate(0deg); left:0;font-size:46px;"
data-150-top-top="opacity:0.8;border-radius:50px;transform:rotate(90deg); left:-10%;font-size:40px;"
data-200-top-top="opacity:0.4;transform:rotate(180deg); left:-50%;font-size:36px;"
data-300-top-top="opacity:0.2;transform:rotate(245deg); left:-100%;font-size:32px;"
data-350-top-top="left:-150%;"
data-400-top-top="opacity:0;transform:rotate(280deg);position:relative; left:-400%;">xyz</h1>
<p class="userInfo">Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus</p>
</section>
</div>
</div>
<div class="screen">
<h1>Screen3</h1>
<div class="screen" id="screen3">
<div class="container">
<h1>Screen3</h1>
<section class="infoWrapper">
<div class="imgWrapper">
<img src="images/sportCourses_4.jpg" alt="img" />
Expand All @@ -58,10 +117,8 @@ <h1>xyz</h1>
</div>
</div>
<div class="screen">
<h1>Screen 4</h1>
<div class="container">
<h1>Screen4</h1>
<section class="infoWrapper">
<div class="container">
<section class="infoWrapper">
<div class="imgWrapper">
<img src="images/sportCourses_4.jpg" alt="img" />
</div>
Expand All @@ -71,9 +128,7 @@ <h1>xyz</h1>
</div>
</div>
<div class="screen">
<h1>Screen 5</h1>
<div class="container">
<h1>Screen5</h1>
<section class="infoWrapper">
<div class="imgWrapper">
<img src="images/sportCourses_4.jpg" alt="img" />
Expand All @@ -84,9 +139,7 @@ <h1>xyz</h1>
</div>
</div>
<div class="screen">
<h1>Screen 6</h1>
<div class="container">
<h1>Screen6</h1>
<section class="infoWrapper">
<div class="imgWrapper">
<img src="images/sportCourses_4.jpg" alt="img" />
Expand All @@ -97,29 +150,47 @@ <h1>xyz</h1>
</div>
</div>

<div class="twoScreen">
<div class="twoScreen" id="twoScreen">
<div class="container clearfix">
<section class="twoScreenLeft">
<section class="twoScreenLeft" data-anchor-target="#twoScreen"
data-0-top-top="left:0;color:#7c0ce8;"
data-50-top-top="border-radius:100px;transform:rotate(0deg); right:0;"
data-100-top-top="opacity:1;border-radius:100px;transform:rotate(45deg); left:0;"
data-150-top-top="opacity:0.8;border-radius:50px;transform:rotate(90deg); left:-10%;"
data-200-top-top="opacity:0.4;transform:rotate(180deg); left:-50%;"
data-300-top-top="opacity:0.2;transform:rotate(245deg); left:-100%;"
data-350-top-top="left:-150%;"
data-400-top-top="opacity:0;transform:rotate(280deg);position:relative; left:-400%;">
<div class="imgWrapper">
<img src="images/sportCourses_4.jpg" alt="img" />
</div>
<h1>xyz</h1>
<p class="userInfo">Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam,</p>
</section>
<section class="twoScreenRight">
<div class="imgWrapper">
<img src="images/sportCourses_4.jpg" alt="img" />
</div>
<h1>xyz</h1>
<p class="userInfo">Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam,</p>
</section>
<section class="twoScreenRight" data-anchor-target="#twoScreen"
data-0-top-top="border-radius:100px;transform:rotate(0deg); right:0;color:#7c0ce8;"
data-50-top-top="border-radius:100px;transform:rotate(0deg); right:0;"
data-100-top-top="opacity:1;border-radius:100px;transform:rotate(-45deg); right:0;"
data-150-top-top="opacity:0.8;border-radius:50px;transform:rotate(-90deg); right:-10%;"
data-200-top-top="opacity:0.4;transform:rotate(-180deg); right:-50%;"
data-300-top-top="opacity:0.2;transform:rotate(-245deg); right:-100%;"
data-350-top-top="right:-150%;"
data-400-top-top="opacity:0;transform:rotate(-280deg);position:relative; right:-400%;">
<div class="imgWrapper">
<img src="images/sportCourses_4.jpg" alt="img" />
</div>
<h1>xyz</h1>
<p class="userInfo">Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam,</p>
</section>

</div>

</div>


</div>
<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="js/skrollr.js"></script>
<script type="text/javascript" src="js/custom.js"></script>
</body>
</html>
4 changes: 3 additions & 1 deletion js/custom.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
$(document).ready(function(){
var docHeight = $(window).height();
var docHeight = $(window).height()+200;
var docWidth = $(window).width();
$(".wrapper > div").css("height",docHeight);

var s = skrollr.init();
});
Loading