Source

ꯊꯥꯛ

ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯃꯒꯤ ꯄꯣꯖꯤꯁꯟ ꯑꯗꯨ ꯊꯨꯅꯥ ꯀꯅꯐꯤꯒꯔ ꯇꯧꯅꯕꯒꯤꯗꯃꯛ ꯁꯣꯔꯇꯍꯦꯟꯗ ꯌꯨꯇꯤꯂꯤꯇꯤꯁꯤꯡ ꯑꯁꯤ ꯁꯤꯖꯤꯟꯅꯧ꯫

ꯀꯃꯟ ꯑꯣꯏꯕꯥ ꯚꯦꯜꯌꯨꯁꯤꯡ꯫

ꯀꯨꯏꯛ ꯄꯣꯖꯤꯁꯅꯤꯡ ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯐꯪꯏ, ꯃꯈꯣꯌ ꯑꯁꯤ ꯔꯦꯁ꯭ꯄꯣꯟꯁꯤꯕꯜ ꯑꯣꯏꯗ꯭ꯔꯕꯁꯨ꯫

<div class="position-static">...</div>
<div class="position-relative">...</div>
<div class="position-absolute">...</div>
<div class="position-fixed">...</div>
<div class="position-sticky">...</div>

ꯐꯤꯛꯁ ꯇꯧꯔꯕꯥ ꯃꯊꯛꯇꯥ꯫

ꯚꯤꯎꯄꯣꯔꯇꯀꯤ ꯃꯊꯛꯇꯥ, ꯑꯦꯖꯗꯒꯤ ꯑꯦꯖ ꯐꯥꯎꯕꯥ ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯃꯥ ꯊꯝꯃꯨ꯫ ꯅꯍꯥꯛꯀꯤ ꯄ꯭ꯔꯣꯖꯦꯛꯇꯇꯥ ꯐꯤꯛꯁ ꯇꯧꯔꯕꯥ ꯄꯣꯖꯤꯁꯅꯒꯤ ꯔꯦꯃꯤꯐꯤꯀꯦꯁꯅꯁꯤꯡ ꯑꯗꯨ ꯅꯍꯥꯛꯅꯥ ꯁꯣꯌꯗꯅꯥ ꯈꯪꯖꯤꯅꯕꯤꯌꯨ; ꯅꯍꯥꯛꯅꯥ ꯑꯍꯦꯅꯕꯥ CSS ꯍꯥꯄꯆꯤꯅꯕꯥ ꯃꯊꯧ ꯇꯥꯕꯥ ꯌꯥꯏ꯫

<div class="fixed-top">...</div>

ꯐꯤꯛꯁ ꯇꯧꯔꯕꯥ ꯕꯣꯇꯝ꯫

ꯚꯤꯎꯄꯣꯔꯇꯀꯤ ꯃꯈꯥꯗꯥ ꯂꯩꯕꯥ ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯃꯥ, ꯑꯦꯖꯗꯒꯤ ꯑꯦꯖ ꯑꯃꯗꯥ ꯊꯝꯃꯨ꯫ ꯅꯍꯥꯛꯀꯤ ꯄ꯭ꯔꯣꯖꯦꯛꯇꯇꯥ ꯐꯤꯛꯁ ꯇꯧꯔꯕꯥ ꯄꯣꯖꯤꯁꯅꯒꯤ ꯔꯦꯃꯤꯐꯤꯀꯦꯁꯅꯁꯤꯡ ꯑꯗꯨ ꯅꯍꯥꯛꯅꯥ ꯁꯣꯌꯗꯅꯥ ꯈꯪꯖꯤꯅꯕꯤꯌꯨ; ꯅꯍꯥꯛꯅꯥ ꯑꯍꯦꯅꯕꯥ CSS ꯍꯥꯄꯆꯤꯅꯕꯥ ꯃꯊꯧ ꯇꯥꯕꯥ ꯌꯥꯏ꯫

<div class="fixed-bottom">...</div>

ꯁ꯭ꯇꯤꯛꯀꯤ ꯃꯊꯛꯇꯥ ꯂꯩꯕꯥ꯫

ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯃꯥ ꯚꯤꯎꯄꯣꯔꯇꯀꯤ ꯃꯊꯛꯇꯥ, ꯑꯦꯖ ꯑꯃꯗꯒꯤ ꯑꯦꯖ ꯑꯃꯗꯥ ꯊꯝꯃꯨ, ꯑꯗꯨꯕꯨ ꯅꯍꯥꯛꯅꯥ ꯃꯗꯨꯒꯤ ꯃꯃꯥꯡꯗꯥ ꯁ꯭ꯛꯔꯣꯜ ꯇꯧꯔꯕꯥ ꯃꯇꯨꯡꯗꯥ ꯈꯛꯇꯗꯥ ꯊꯝꯃꯨ꯫ ꯌꯨꯇꯤꯂꯤꯇꯤ ꯑꯁꯤꯅꯥ .sticky-topCSS's ꯁꯤꯖꯤꯟꯅꯩ position: sticky, ꯃꯁꯤ ꯕ꯭ꯔꯥꯎꯖꯔ ꯄꯨꯝꯅꯃꯛꯇꯥ ꯃꯄꯨꯡ ꯐꯥꯅꯥ ꯁꯄꯣꯔꯠ ꯇꯧꯗꯦ꯫

ꯑꯥꯏ.ꯏ.꯱꯱ ꯑꯃꯁꯨꯡ ꯑꯥꯏ.ꯏ.꯱꯰ꯅꯥ ꯔꯦꯟꯗꯔ position: stickyꯇꯧꯒꯅꯤ position: relative. ꯑꯁꯤꯒꯨꯝꯕꯥ ꯃꯑꯣꯡꯗꯥ, ꯑꯩꯈꯣꯌꯅꯥ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯑꯁꯤ @supportsꯀ꯭ꯕꯦꯔꯤ ꯑꯃꯗꯥ ꯔꯦꯞ ꯇꯧꯏ, ꯃꯁꯤꯅꯥ ꯁ꯭ꯇꯤꯛ ꯑꯁꯤ ꯃꯑꯣꯡ ꯆꯨꯝꯅꯥ ꯔꯦꯟꯗꯔ ꯇꯧꯕꯥ ꯉꯝꯕꯥ ꯕ꯭ꯔꯥꯎꯖꯔ ꯈꯛꯇꯗꯥ ꯂꯤꯃꯤꯠ ꯇꯧꯏ꯫

<div class="sticky-top">...</div>