/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
- 64 votes319 views4 answers
- 0 vote156 views1 answer
- 1 vote146 views1 answer
- 0 vote157 views1 answer
- 0 vote148 views2 answers
- 12 votes159 views1 answer
- 64 votes142 views3 answers
- 0 vote145 views1 answer
- 0 vote172 views1 answer
- 0 vote169 views1 answer