/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
- 0 vote358 views1 answer
- 4 votes269 views2 answers
- 0 vote248 views3 answers
- 0 vote266 views1 answer
- 0 vote256 views1 answer
- 0 vote255 views1 answer
- 0 vote261 views1 answer
- 1 vote266 views1 answer
- 0 vote312 views1 answer
- 86 votes268 views3 answers