What's a liquid layout?

2019-06-19 03:21发布

My designer keeps throwing out the term "liquid" layout. What does this mean?

Thanks for the clarification, I have always just called this a percentage layout, and thought he was saying that the pieces could be moved around, and that was liquid

10条回答
beautiful°
2楼-- · 2019-06-19 03:27

Basically, it's a layout of a web page that doesn't rely on a specific width specifications for elements in the page.

See the discussion over at Wikipedia.

查看更多
\"骚年 ilove
3楼-- · 2019-06-19 03:27

One of two:

  • The design will scale to the width of the browser (as in, if the browser was 1024px wide, the design will be as well)... although this does get quite fun when designing for 100px wide browsers (sometime designers will actually set a min-width though).

  • The design has a fixed width, but is set in a measurement using a relative size... for example "em"... so as the font size is increased, the width of the page increases.

查看更多
三岁会撩人
4楼-- · 2019-06-19 03:35

A liquid layout is a method of CSS layout that defines all widths in percentages, so the areas of the page will grow/shrink when the viewport (browser window) is resized.

They're very useful if trying to create a site that will fit both large and small screens. They're a little more difficult to work it than fixed layouts, because you're relinquishing some level control over how everything fits in the page, and you have to pay very close attention to your content, to make sure it doesn't fall apart aesthetically on resize.

I would say liquid layouts are most useful for text heavy sites with a fairly basic column layout. You might also find a happy medium with an 'elastic' layout -- one that has both liquid and fixed areas.

查看更多
Root(大扎)
5楼-- · 2019-06-19 03:36

Liquid Layouts refer to the design concept of a website. A liquid layout will move in and out when you resize your browser window, due to is having percentages and relative widths in the CSS.

查看更多
Viruses.
6楼-- · 2019-06-19 03:39

From http://www.maxdesign.com.au/presentation/liquid/ :

All containers on the page have their widths defined in percents - meaning that they are completely based on the viewport rather than the initial containing block. A liquid layout will move in and out when you resize your browser window.

查看更多
登录 后发表回答