Overflow hidden for only one side
// overflow hidden on last right side
& > *:last-child {
clip-path: inset( -100vw 0 -100vw -100vw );
}
// overflow hidden on last left side
& > *:last-child {
clip-path: inset( -100vw -100vw -100vw 0 );
}
- - Site preview
// overflow hidden on last right side
& > *:last-child {
clip-path: inset( -100vw 0 -100vw -100vw );
}
// overflow hidden on last left side
& > *:last-child {
clip-path: inset( -100vw -100vw -100vw 0 );
}