- AMP:Building Accelerated Mobile Pages
- Ruadhan O'Donoghue
- 111字
- 2021-07-08 10:04:05
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.
推薦閱讀
- Flask Web全棧開發(fā)實(shí)戰(zhàn)
- Go語(yǔ)言高效編程:原理、可觀測(cè)性與優(yōu)化
- 從程序員到架構(gòu)師:大數(shù)據(jù)量、緩存、高并發(fā)、微服務(wù)、多團(tuán)隊(duì)協(xié)同等核心場(chǎng)景實(shí)戰(zhàn)
- GitLab Repository Management
- Learning Laravel 4 Application Development
- 名師講壇:Spring實(shí)戰(zhàn)開發(fā)(Redis+SpringDataJPA+SpringMVC+SpringSecurity)
- concrete5 Cookbook
- 深度學(xué)習(xí):Java語(yǔ)言實(shí)現(xiàn)
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)教程(Windows 7+Office 2010)
- Building Serverless Architectures
- Visual FoxPro 6.0程序設(shè)計(jì)
- Go語(yǔ)言入門經(jīng)典
- NGUI for Unity
- SEO教程:搜索引擎優(yōu)化入門與進(jìn)階(第3版)
- Apache Solr for Indexing Data