Skip to content

Commit 2d036d8

Browse files
committed
big changes , added tilt.js and edited css effects
1 parent 13005d6 commit 2d036d8

File tree

167 files changed

+34507
-13
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+34507
-13
lines changed

images/loading.jpeg

91.4 KB
Loading
786 KB
Loading

index.html

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<body>
1919
<div class="cards">
2020
<div class="wrapper">
21-
<div class="box" id="side">
21+
<div data-tilt class="box" id="side">
2222
<h2>
2323
Stuff I'm learning <br>
2424
</h2><br>
@@ -35,7 +35,7 @@ <h2>
3535
</p>
3636
<a href="https://www.linkedin.com/in/umgbhalla/" target="_blank">LinkedIn</a>
3737
</div>
38-
<div class="box" id="center">
38+
<div data-tilt class="box" id="center">
3939
<div class="img-area"><img src="images/image2.jpg" alt="profile photo"></div>
4040
<h2>
4141
<br>
@@ -47,7 +47,7 @@ <h2>
4747
<br>
4848
<a href="https://twitter.com/umgbhalla" target="_blank">Twitter</a>
4949
</div>
50-
<div class="box" id="side">
50+
<div data-tilt class="box" id="side">
5151
<h2>
5252
Stuff I find interesting <br>
5353
</h2><br>
@@ -75,6 +75,21 @@ <h2>
7575
</div>
7676
</div>
7777
<!-- testing -->
78+
<script src="node_modules/jquery/dist/jquery.js"></script>
79+
<script src="node_modules/tilt.js/src/tilt.jquery.js"></script>
80+
<script type="text/javascript">
81+
$(document).ready(function () {
82+
$('.box').tilt({
83+
scale: 1.06,
84+
perspective: 2000,
85+
speed: 2000,
86+
glare: true,
87+
maxGlare: .5
88+
89+
})
90+
}
91+
)
92+
</script>
7893
</body>
7994

8095
</html>

node_modules/.package-lock.json

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.yarn-integrity

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)