Html 在Bootstrap4中,将包含响应映像的一列与模式内的另一列一起修复

Html 在Bootstrap4中,将包含响应映像的一列与模式内的另一列一起修复,html,css,bootstrap-4,Html,Css,Bootstrap 4,我有一行包含两列,一列包含图像,另一列包含模式窗口中的用户列表。 当用户向下滚动模式时,将加载更多用户。我希望图像是固定的模式时,向下滚动。 html: 这是JSFIDLE链接将此类添加到img元素中: .sticky { position: -webkit-sticky; position: sticky; top: 0; } 创建一个提琴并上传上面提供的工作代码 .sticky { position: -webkit-sticky; position: sticky;

我有一行包含两列,一列包含图像,另一列包含模式窗口中的用户列表。 当用户向下滚动模式时,将加载更多用户。我希望图像是固定的模式时,向下滚动。 html:


这是JSFIDLE链接

将此类添加到img元素中:

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

创建一个提琴并上传上面提供的工作代码
.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}