#429826 Score: 0
Profile photo of Donna Slinger
Donna Slinger
Member
beginner
intermediate
picture perfect
profile
curious george
wise owl
Group Member
friend finder
contributor
2 pts
@dslinger

This works great, except that scrolling doesn’t move the user smoothly to each section. The section headers don’t land in the same position when scrolling as using the buttons to navigate to the sections. So, I’ve been looking at adding a scroll snap to it and the CSS seems simple enough.

However, using it with Lectora, I’m wondering how to attach Lectora Online items as children within the container?

HTML:

<div class=’container’>
<section class=’child’></section>
<section class=’child’></section>
<section class=’child’></section>

</div>

CSS:

.container {
scroll-snap-type: y mandatory;
}

.child {
scroll-snap-align: start;
}