Problem calculating percentage for body width

后端 未结 6 1054
無奈伤痛
無奈伤痛 2021-01-16 20:20

I need to build a classic 960px layout and I have to convert that 960px into %. So, I should use 960px / 16px = 60%, right?

Note: 960px =

6条回答
  •  余生分开走
    2021-01-16 20:43

    Also, a really good article on "Fluid Grids" that includes managing type, etc.

    From A List Apart: Fluid Grids "However, our client had one last, heart-stopping requirement: the design had to be fluid and resize with the browser window. Normally, this would cause me to rejoice both noisily and embarrassingly. Fluid layouts are an undervalued commodity in web design. They put control of our designs firmly in the hands of our users and their browsing habits. They’ve also utterly failed to seize the imagination of web designers."

提交回复
热议问题