/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 vote132 views2 answers
- 95 votes127 views6 answers
- 3 votes129 views3 answers
- 0 vote140 views1 answer
- 116 votes138 views6 answers
- 0 vote123 views1 answer
- 0 vote131 views1 answer
- 1 vote131 views1 answer
- 0 vote133 views1 answer
- 0 vote133 views3 answers