Align div with fixed position on the right side

后端 未结 8 1341
名媛妹妹
名媛妹妹 2021-02-02 08:08

I want to show a div which is always visible even as the user scrolls the page. I have used the CSS position: fixed; for that.

Now I also want

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-02 08:17

    make a parent div, in css make it float:right then make the child div's position fixed this will make the div stay in its position at all times and on the right

提交回复
热议问题