CSS - positioning in % and px combine -
is there way set div that:
right: 50% - 450px; i need compatible resolutions. it's fixed div, , need in center + 450px right. have suggestion?
hope understand mean.
used calc()
calc() native css way simple math right in css replacement length value (or pretty much number value). has 4 simple math operators: add together (+), subtract (-), multiply (*), , split (/). beingness able math in code nice , welcome add-on language number heavy.
right: calc(50% - 450px); more info
css positioning fixed
No comments:
Post a Comment