I have a div that is positioned absolutely and I gave it a
For desktop it is necessary to have the
position of 100px.
But for tablet I want to push it all the way to the right.
To achieve this I tried doing
, but since
is already defined in the CSS, the
does not push it all the way to the right as intended.
Then I tried doing
in tablet to cancel out the effect that it has but that didn't work either.
Is there a way to cancel out the
position? Something like
(I know that does not work but it's the only way I am able to explain this.)
I could do something like
to get it to the position that I want but I am just curious if there is a way where I can use
so I know for sure that it is pushed totally to the right.