Within my body, there is a concern regarding horizontal scrolling on my pages. To address this issue, I have set overflow-x: hidden in the CSS code.
html, body{
width: 100%;
height: 100%;
margin: 0;
padding: 0;
font-family: 'Gravity-Regular';
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow-x: hidden;
}
The complication arises on my homepage where animated effects are utilized, leading to specific CSS configurations as shown below:
.cbp-so-scroller {
overflow: hidden;
}
.cbp-so-side {
width: 50%;
float: left;
margin: 0;
padding: 48px 4%;
overflow: hidden;
min-height: 192px;
-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
-moz-transition: -moz-transform 0.5s, opacity 0.5s;
transition: transform 0.5s, opacity 0.5s;
}
While both of these sections entail hidden overflow attributes, removing overflow-x: hidden from html/body enables smooth animations yet it is essential for me to retain the overflow setting. Is there any method to customize these overflows? Attempts using :not(.cbp-so-scroller) proved unsuccessful.