How to make fixed header (menu)?

I tried using the jquery library That comes out thanks in Advance
June 10th 19 at 14:59
3 answers
June 10th 19 at 15:01
position: fixed; for hats
June 10th 19 at 15:03
June 10th 19 at 15:05
position: fixed;
top: 0px;
right: 0px;

Find more questions by tags CSSHTML