/CSS/.sidebar { --offset: 2rem; flex-grow: 1; flex-basis: 300px; align-self: start; position: sticky; top: var(--offset); }
.sidebar { --offset: 2rem; flex-grow: 1; flex-basis: 300px; align-self: start; position: sticky; top: var(--offset); }
.sidebar { --offset: 2rem; flex-grow: 1; flex-basis: 300px; align-self: start; position: sticky; top: var(--offset); }
0
Source: css-tricks.com
- 2 votes315 views2 answers
- 0 vote320 views1 answer
- 8 votes398 views3 answers
- 9 votes323 views2 answers
- 1 vote347 views1 answer
- 1 vote326 views2 answers
- 1 vote316 views1 answer
- 0 vote301 views1 answer
- 1 vote343 views1 answer
- 1 vote324 views2 answers