- 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.
推薦閱讀
- 機器學習系統(tǒng):設計和實現(xiàn)
- LabVIEW入門與實戰(zhàn)開發(fā)100例
- Android Application Development Cookbook(Second Edition)
- Apache Spark 2 for Beginners
- The Complete Coding Interview Guide in Java
- Android項目實戰(zhàn):手機安全衛(wèi)士開發(fā)案例解析
- Visualforce Developer’s guide
- LabVIEW虛擬儀器入門與測控應用100例
- INSTANT Silverlight 5 Animation
- 深入實踐Kotlin元編程
- C++ Application Development with Code:Blocks
- Qt 4開發(fā)實踐
- Hacking Android
- Java Web開發(fā)基礎與案例教程
- SQL Server實例教程(2008版)