Skip to content

Commit

Permalink
ratio fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacky-p committed Jun 1, 2024
1 parent 549d795 commit e07f1f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions hw1/hw1Style.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ body {
display: flex;
flex-wrap: wrap;

position: sticky;

padding: 40px 15px 70px 15px;

margin: auto auto;
Expand Down
10 changes: 7 additions & 3 deletions styler.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@ h1 {
font-size: 50px;
font-weight: 100px;
}
h3 {
font-size: 25px;
}

.des {
position:sticky;
margin: auto;
width: 1000px;
padding-bottom: 30px;
max-width: fit-content;

}

h3 {
font-size: 25px;
}
.bar {
display: flex;
position: sticky;
Expand Down

0 comments on commit e07f1f2

Please sign in to comment.