/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 vote235 views1 answer
- 0 vote222 views1 answer
- 0 vote223 views1 answer
- 8 votes259 views5 answers
- 0 vote244 views5 answers
- 1 vote242 views1 answer
- 0 vote229 views2 answers
- 0 vote221 views1 answer
- 1 vote222 views1 answer
- 0 vote224 views1 answer