css - How to set element to be on left edge of screen in html? -


i have element thats width either fixed pixel or percentage based on media query. want right side of box boundary @ x coordinate -1 of screen, right side touching left side of screen not visible. there value can use css rule right or left works both percent , fixed pixel widths?

thanks

this set of css rules might work if css3 okay:

position:absolute; left:0; transform:translatex(-100%); 

position , left depend on use case, transform:translatex(-100%) thing moves element left width of said element.


Comments