mirror of
https://github.com/System-End/YSWS-Catalog.git
synced 2026-04-19 21:05:07 +00:00
Add smooth scrolling behavior to enhance user experience
This commit is contained in:
parent
06f2f1c667
commit
2ca64bc815
1 changed files with 6 additions and 0 deletions
|
|
@ -1626,6 +1626,7 @@ body.modal-open {
|
|||
transition: all 0.3s ease;
|
||||
box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
|
||||
transform: translateY(0);
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
.cta-button:hover {
|
||||
|
|
@ -1657,6 +1658,7 @@ body.modal-open {
|
|||
box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
backdrop-filter: blur(15px);
|
||||
scroll-margin-top: 100px;
|
||||
}
|
||||
|
||||
.dark-theme .programs-container {
|
||||
|
|
@ -1881,4 +1883,8 @@ body.modal-open {
|
|||
.footer-logo {
|
||||
display: inline-block;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue