@declanslevin
Posted
While float
works for what you've used it for, this is actually incorrect usage. Float was originally intended for wrapping text around an image and not for positioning elements on the page.
Instead you are better off using Flexbox as this was developed purely for positioning and layout. You can align items to the right of the screen by using justify-content: flex-end
.