I'm a bit new to CSS and was tinkering with this for quite a while and can't figure it out. I have an icon to play a video that I want fixed positioned at the bottom right corner. I have that working with pretty simple CSS: position: fixed; bottom: 16.5%; right: 8.25%;
But, if I resize the window and make it small, the icon will go over text. I was hoping to set it so that this will not happen, the icon will go off-screen.
I've tried a couple things, but it seems not possible with the right attribute. If I use left instead, it will work as I want it, but I want the icon to be as far right as possible so I guess I would need some sort of dynamic left position? This seems a bit overcomplicated and I was wondering if there is an easier solution.