Jump to content
Search Community

wg178910

Members
  • Posts

    1
  • Joined

  • Last visited

wg178910's Achievements

  1. Hi everyone. I'm currently working on a project that uses scroll trigger pinning an element in a parent container. However, it comes to my notice that whenever I use a percentage in flex-basis, the child element's width changes from something like 123.34 to 124 whenever it is being pinned (just like the width of the blue box changing in the demo). This is a small difference but pretty noticeable on high resolution devices. Is there any solution to that? I know that I could pin the entire container but everything is already set up and I just don't want to tear everything down and rebuild everything. Thank you in advance.
×
×
  • Create New...