Skip to content

Commit c4b9365

Browse files
author
austin
committed
better scroll
1 parent a57564a commit c4b9365

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

index.css

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ body,html{
66
height: 100%;
77
padding: 0px;
88
margin: 0;
9+
scroll-behavior: smooth;
910
}
1011
body{
1112
background-color: rgb(255, 255, 255);

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
</head>
99
<body>
1010
<div id="extra-space">
11-
<h1 style="font-family:sans-serif">hi, to see more scroll down!</h1>
11+
<h1 style="font-family:sans-serif">hi, uh, i think there may be more if you scroll down :/ or you can click <a href="#main">me</a></h1>
1212
</div>
1313

1414
<div id="transistion-to-main"></div>
1515
<div id="maindiv">
16-
<h1>Hello!</h1>
16+
<h1 id="main">Hello!</h1>
1717
<p>Hey, I'm Austin—an introverted but super cool kid who loves coding and archery. I enjoy learning new things, helping others, and talking (a lot). When I'm not coding, you'll find me reading books or chatting with friends. Huge thanks to <a href="https://x.com/TimmyRetro">Retro</a> for the inspiration!</p>
1818

1919
<p>I'm basically a professional music listener. <small>(Yes, that sounds cringe, but it's true.)</small> I spend most of my time listening to music, especially dream pop, indie, and lofi.</p>

0 commit comments

Comments
 (0)