官术网_书友最值得收藏!

The AMP-HTML layout system

AMP's layout system is key to reducing rendering and scrolling-jank. AMP uses a static layout system that relies on a set of attributes to define the layout and sizing of elements. These are layout, width, height, sizes, and heights. With these attributes, AMP is able to efficiently calculate the layout and size of each element even before anything is fetched from the network.

AMP's layout system is built on web technologies, and to use it effectively, you'll need to have an understanding of CSS and HTML, and to be able to use them constructively to support your desired AMP layouts. We'll see this later in this chapter.
主站蜘蛛池模板: 留坝县| 五寨县| 甘肃省| 石城县| 绿春县| 阳泉市| 葫芦岛市| 万宁市| 长泰县| 枝江市| 微博| 滦南县| 纳雍县| 石景山区| 三穗县| 汤阴县| 积石山| 昌邑市| 侯马市| 遂溪县| 曲松县| 兰坪| 滕州市| 江孜县| 吉水县| 富裕县| 丹阳市| 桓台县| 远安县| 定陶县| 汝南县| 新丰县| 洛宁县| 芒康县| 龙门县| 鱼台县| 什邡市| 大洼县| 云林县| 平舆县| 长乐市|