- 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.
推薦閱讀
- HornetQ Messaging Developer’s Guide
- HTML5+CSS3網站設計基礎教程
- PHP+MySQL網站開發項目式教程
- 小學生C++創意編程(視頻教學版)
- PySide 6/PyQt 6快速開發與實戰
- Python+Tableau數據可視化之美
- 深入理解C指針
- Django實戰:Python Web典型模塊與項目開發
- Backbone.js Testing
- PostgreSQL 12 High Availability Cookbook
- HTML5 WebSocket權威指南
- Java程序設計教程
- Mastering ASP.NET Web API
- Moodle 3.x Developer's Guide
- 軟件再工程:優化現有軟件系統的方法與最佳實踐