Skip to content

Commit af07b4a

Browse files
committed
add fixed scrolling formatting to project highlight container;
1 parent 1e8b749 commit af07b4a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

css/style.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,25 @@ footer {
508508
text-align: left;
509509
}
510510

511+
/*Format project highlight section to be scrollable*/
512+
.projectHighlights {
513+
overflow: hidden;
514+
overflow-y: scroll;
515+
scroll-snap-type: y mandatory;
516+
scroll-behavior: smooth;
517+
-webkit-overflow-scrolling: touch;
518+
display: flex;
519+
flex-direction: column;
520+
justify-content: space-between;
521+
height: 100vh;
522+
523+
}
524+
525+
/*Hide scroll bar*/
526+
.projectHighlights::-webkit-scrollbar {
527+
display: none;
528+
}
529+
511530
/*Format project highlight items*/
512531
.projectHighlightItem i {
513532
font-size: 3em;

0 commit comments

Comments
 (0)