s">
<meta name="assert" content="Sticky positioned grid items are aligned correcly, but preserving non-static positions when required.">
<style>
.container {
  border: solid 1px;
  overflow: auto;
  width: 500px;
}
.grid {
  position: relative;
  display: grid;
  grid-template-columns: 100px 100px 100px 300px;
  grid-template-rows: 75px 75px 75px 75px;
  background: grey;
  width: 400px;
  margin-bottom: 20px;
}
.sticky {
  position: -webkit-sticky;
  position: sticky;
  width: 20px;
  height: 20px;
  backg