Skip to content

Commit

Permalink
almost done
Browse files Browse the repository at this point in the history
  • Loading branch information
MAHasnain committed Sep 10, 2023
1 parent fc8dfdf commit 1df9971
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<body>
<div>
<h2 class="heading">Move your cursor and see 👀 this circle 👇🏻 Movement</h2>
<div class="rect"></div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"
Expand Down
14 changes: 13 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,200;1,400;1,500;1,600;1,700;1,800&display=swap');

* {
box-sizing: border-box;
margin: 0;
Expand All @@ -7,6 +9,7 @@

html,
body {
/* font-family: 'Raleway', sans-serif; */
background-color: burlywood;
height: 100%;
width: 100%;
Expand All @@ -22,4 +25,13 @@ body {
height: 70px;
width: 70px;
border-radius: 50px;
}
}

.heading {
font-family: 'Raleway', sans-serif;
text-align: center;
color: white;
font-size: 30px;
margin-top: 100px;
}

0 comments on commit 1df9971

Please sign in to comment.