css3 - alternative to calc() for css background positioning in android browser and chrome for android -
here´s problem:
i need possition background image 0.3em left right edge
background-position: calc(100% - 0.3em) 0.3em;
now, problem works on browser except android native browser , chrome android
do know other way in can solved using css only?
thanks in advance
modern browsers understand background positioning right edge. i'm not sure if works on android give try:
background-position: right 0.3em top 0.3em;
this sets position 0.3em top , 0.3em right edge.
please note not work in older browsers need provide fallback.
Comments
Post a Comment