Like in the subject I don't know how to set width of an image on a page ot a percentage of page width. I mean something like this.
img {width: calc(width-page*16.5%);}
CodePudding user response:
if it's viewport then vw (stands for viewport width)
Like in the subject I don't know how to set width of an image on a page ot a percentage of page width. I mean something like this.
img {width: calc(width-page*16.5%);}
CodePudding user response:
if it's viewport then vw (stands for viewport width)